about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/process/system.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/process/system.c b/src/process/system.c
index 8cbdda06..9135b815 100644
--- a/src/process/system.c
+++ b/src/process/system.c
@@ -14,7 +14,7 @@ int system(const char *cmd)
 	pid_t pid;
 	sigset_t old, reset;
 	struct sigaction sa = { .sa_handler = SIG_IGN }, oldint, oldquit;
-	int status = 0x7f00, ret;
+	int status = -1, ret;
 	posix_spawnattr_t attr;
 
 	pthread_testcancel();