summaryrefslogtreecommitdiff
path: root/src/menus.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/menus.c')
-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;