mirror of
https://github.com/palera1n/palera1n.git
synced 2026-10-24 11:09:48 +02:00
support checkra1n clones being passed into -i
This commit is contained in:
1 parent
d974100585
commit
2a7df193ce
7 files changed
+112
-4
No files matched your search
@@ -97,9 +97,14 @@ int exec_checkra1n(void) {
|
||||
}
|
||||
#endif
|
||||
checkra1n_exec: {};
|
||||
char args[0x10] = "-pE";
|
||||
char args[0x10] = "-E";
|
||||
if (checkrain_option_enabled(host_flags, host_option_demote)) strncat(args, "d", 0xf);
|
||||
if (verbose >= 2) strncat(args, "v", 0xf);
|
||||
if (!checkrain_option_enabled(host_flags, palerain_option_checkrain_is_clone)) {
|
||||
strncat(args, "p", 0xf);
|
||||
if (verbose >= 2) strncat(args, "v", 0xf);
|
||||
} else {
|
||||
strncat(args, "R", 0xf);
|
||||
}
|
||||
if (pongo_path != NULL) strncat(args, "k", 0xf); // keep this at last
|
||||
pid_t pid;
|
||||
char* checkra1n_argv[] = {
|
||||
|
||||
Reference in new issue
Block a user