From a103d030117276c180b1480546871f918c7c3452 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 14 Sep 2007 10:15:41 +0000 Subject: [PATCH] fix disastrous bug --- src/init.C | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/init.C b/src/init.C index 0985b549..0dcc224c 100644 --- a/src/init.C +++ b/src/init.C @@ -1346,7 +1346,7 @@ rxvt_term::run_child (const char *const *argv) sigprocmask (SIG_SETMASK, &ss, 0); /* command interpreter path */ - if (argv != NULL) + if (argv) { # ifdef DEBUG_CMD int i; @@ -1376,7 +1376,7 @@ rxvt_term::run_child (const char *const *argv) argv0 = login; } - execlp (shell, argv0, NULL); + execlp (shell, argv0, (char *)0); /* no error message: STDERR is closed! */ } -- 2.34.1