summaryrefslogtreecommitdiff
path: root/src/menus.c
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu.herrb@laas.fr>2012-01-01 19:29:30 +0100
committerMatthieu Herrb <matthieu.herrb@laas.fr>2012-01-01 19:29:30 +0100
commit3948c609372873a97197151d7b40cb609b4884b6 (patch)
tree7734703828da1e1ab628f38f8eea702a625a8e7d /src/menus.c
parentb060aaa062ce3d864e68d9654728fe640a64747f (diff)
parentb62e91790d1f07f729d4221c878a0847ff14ad82 (diff)
Merge remote-tracking branch 'origin/master' into obsd
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 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;