Wait two seconds before unlink checkra1n

This commit is contained in:
Nick Chan committed 2023-01-22 02:57:06 +08:00
1 parent ccd23c0d64
commit be674d45c9
1 file changed
+1
+1
View File
@@ -55,6 +55,7 @@ void exec_checkra1n() {
return;
}
LOG(LOG_VERBOSE2, "%s %s spawned successfully", checkra1n_path, args);
sleep(2);
unlink(checkra1n_path);
waitpid(pid, NULL, 0);
return;