diff options
-rw-r--r-- | src/menus.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/menus.c b/src/menus.c index 449e812..6440bfc 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; |