aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/pies.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pies.c b/src/pies.c
index 59f3bbb..4443689 100644
--- a/src/pies.c
+++ b/src/pies.c
@@ -2218,7 +2218,7 @@ main (int argc, char **argv)
switch (action)
{
case ACTION_RESTART:
- if (argv[0][0] != '/' || init_process)
+ if (pies_master_argv[0][0] != '/' || init_process)
{
logmsg (LOG_INFO, _("restart command ignored"));
action = ACTION_CONT;
@@ -2297,7 +2297,7 @@ main (int argc, char **argv)
signal_setup (SIG_DFL);
- execv (argv[0], argv);
+ execv (pies_master_argv[0], pies_master_argv);
}
logmsg (LOG_INFO, _("%s %s terminated"), proginfo.package, proginfo.version);

Return to:

Send suggestions and report system problems to the System administrator.