mirror of
https://github.com/palera1n/palera1n.git
synced 2026-12-06 08:14:49 +01:00
argv not qrgv
This commit is contained in:
1 parent
1afa5e6fd6
commit
b9755d6964
1 file changed
+3
-3
@@ -39,13 +39,13 @@ void exec_checkra1n() {
|
|||||||
LOG(LOG_FATAL, "Cannot chmod %s: %d (%s)", checkra1n_path, errno, strerror(errno));
|
LOG(LOG_FATAL, "Cannot chmod %s: %d (%s)", checkra1n_path, errno, strerror(errno));
|
||||||
unlink(checkra1n_path);
|
unlink(checkra1n_path);
|
||||||
}
|
}
|
||||||
char* checkra1n_qrgv[] = {
|
char* checkra1n_argv[] = {
|
||||||
checkra1n_path,
|
checkra1n_path,
|
||||||
"-pVE",
|
"-pvE",
|
||||||
NULL
|
NULL
|
||||||
};
|
};
|
||||||
pid_t pid;
|
pid_t pid;
|
||||||
ret = posix_spawn(&pid, checkra1n_path, NULL, NULL, checkra1n_qrgv, environ);
|
ret = posix_spawn(&pid, checkra1n_path, NULL, NULL, checkra1n_argv, environ);
|
||||||
if (ret) {
|
if (ret) {
|
||||||
LOG(LOG_FATAL, "Cannot posix spawn %s: %d (%s)", checkra1n_path, errno, strerror(errno));
|
LOG(LOG_FATAL, "Cannot posix spawn %s: %d (%s)", checkra1n_path, errno, strerror(errno));
|
||||||
unlink(checkra1n_path);
|
unlink(checkra1n_path);
|
||||||
|
|||||||
Reference in new issue
Block a user