From b21a3493f04f01d900f4b4a49b11d52f0944a6d2 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sat, 16 May 2015 17:12:29 +0200 Subject: use $msg instead of $arg MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/cmdline.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/cmdline.c b/src/cmdline.c index 7f62ece..69adae2 100644 --- a/src/cmdline.c +++ b/src/cmdline.c @@ -69,7 +69,7 @@ spawn_continue(const char *message, void *user_data) return 1; if ((pid = fork())) return pid == -1 ? -1 : 1; - setenv("arg", message, 1); + setenv("msg", message, 1); execlp("sh", "sh", "-c", command, NULL); perror(argv0); exit(1); @@ -92,7 +92,7 @@ spawn_break(const char *message, void *user_data) return 1; if ((pid = fork())) return pid == -1 ? -1 : 0; - setenv("arg", message, 1); + setenv("msg", message, 1); execlp("sh", "sh", "-c", command, NULL); perror(argv0); exit(1); -- cgit v1.2.3-70-g09d2