aboutsummaryrefslogtreecommitdiffstats
path: root/src/cmdline.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/cmdline.c4
1 files changed, 2 insertions, 2 deletions
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);