mirror of
https://github.com/palera1n/palera1n.git
synced 2026-10-23 18:49:48 +02:00
rename --fakefs to --rootfs
because it can also be used on realfs
This commit is contained in:
1 parent
c958d50c82
commit
43a8f51145
3 files changed
+7
-4
No files matched your search
@@ -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));
|
||||
|
||||
Reference in new issue
Block a user