mirror of
https://github.com/palera1n/palera1n.git
synced 2026-10-23 10:39:48 +02:00
fix dumb unlink issue
This commit is contained in:
1 parent
6127bdb3d6
commit
e3aad1a249
1 file changed
+1
-1
@@ -75,8 +75,8 @@ checkra1n_exec: {};
|
||||
}
|
||||
LOG(LOG_VERBOSE2, "%s spawned successfully", checkra1n_path);
|
||||
sleep(2);
|
||||
if (ext_checkra1n != NULL) unlink(checkra1n_path);
|
||||
if (ext_checkra1n == NULL) {
|
||||
unlink(checkra1n_path);
|
||||
free(checkra1n_path);
|
||||
checkra1n_path = NULL;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user