rename --fakefs to --rootfs

because it can also be used on realfs
This commit is contained in:
Nick Chan committed 2023-01-17 20:48:54 +08:00
1 parent c958d50c82
commit 43a8f51145
3 files changed
+7 -4

No files matched your search

+4 -2
View File
@@ -39,12 +39,14 @@ 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";
pid_t pid;
char* checkra1n_argv[] = {
checkra1n_path,
"-pvE",
args,
NULL
};
pid_t pid;
ret = posix_spawn(&pid, checkra1n_path, NULL, NULL, checkra1n_argv, environ);
if (ret) {
LOG(LOG_FATAL, "Cannot posix spawn %s: %d (%s)", checkra1n_path, errno, strerror(errno));