mirror of
https://github.com/palera1n/palera1n.git
synced 2026-11-20 20:35:52 +01: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);
|
LOG(LOG_VERBOSE2, "%s spawned successfully", checkra1n_path);
|
||||||
sleep(2);
|
sleep(2);
|
||||||
if (ext_checkra1n != NULL) unlink(checkra1n_path);
|
|
||||||
if (ext_checkra1n == NULL) {
|
if (ext_checkra1n == NULL) {
|
||||||
|
unlink(checkra1n_path);
|
||||||
free(checkra1n_path);
|
free(checkra1n_path);
|
||||||
checkra1n_path = NULL;
|
checkra1n_path = NULL;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user