aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-05-16 17:12:29 +0200
committerMattias Andrée <maandree@operamail.com>2015-05-16 17:12:29 +0200
commitb21a3493f04f01d900f4b4a49b11d52f0944a6d2 (patch)
tree9a41fcf4967c6514656d83511b8775e71dac197b /src
parentadd missing pathname argument to bus-broadcast.1 (diff)
downloadbus-b21a3493f04f01d900f4b4a49b11d52f0944a6d2.tar.gz
bus-b21a3493f04f01d900f4b4a49b11d52f0944a6d2.tar.bz2
bus-b21a3493f04f01d900f4b4a49b11d52f0944a6d2.tar.xz
use $msg instead of $arg3.0
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src')
-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);