still need to detect when the previous command is done

This commit is contained in:
Nick Chan committed 2023-01-17 21:40:32 +08:00
1 parent 43a8f51145
commit 15262b8acf
7 files changed
+42 -11

No files matched your search

+3 -2
View File
@@ -39,8 +39,9 @@ void exec_checkra1n() {
LOG(LOG_FATAL, "Cannot chmod %s: %d (%s)", checkra1n_path, errno, strerror(errno));
unlink(checkra1n_path);
}
char* args = "-pvE";
if (verbose < 2) args = "-pE";
char args[0x10] = "-pE";
if (demote) strcat(args, "d");
if (verbose >= 2) strcat(args, "v");
pid_t pid;
char* checkra1n_argv[] = {
checkra1n_path,