summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/menus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/menus.c b/src/menus.c
index eb8f0e8..4c0e22a 100644
--- a/src/menus.c
+++ b/src/menus.c
@@ -2341,7 +2341,7 @@ System (char *s)
int pid, status;
if ((pid = fork ()) == 0) {
(void) setpgrp();
- execl ("/bin/sh", "sh", "-c", s, 0);
+ execl ("/bin/sh", "sh", "-c", s, NULL);
} else
waitpid (pid, &status, 0);
return status;