From caf95d546d92f07077f9d121c47bf45ff0807744 Mon Sep 17 00:00:00 2001 From: sabetts Date: Wed, 24 May 2006 02:47:57 +0000 Subject: * src/actions.c (spawn): pass NULL to execcl --- src/actions.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/actions.c b/src/actions.c index 3674d28..8ace412 100644 --- a/src/actions.c +++ b/src/actions.c @@ -2484,8 +2484,8 @@ spawn(char *cmd, int raw) #endif /* raw means don't run it through sh. */ if (raw) - execl (cmd, 0); - execl("/bin/sh", "sh", "-c", cmd, 0); + execl (cmd, NULL); + execl("/bin/sh", "sh", "-c", cmd, NULL); _exit(EXIT_FAILURE); } -- cgit v1.2.3