aboutsummaryrefslogtreecommitdiff
path: root/src/pies.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pies.c')
-rw-r--r--src/pies.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pies.c b/src/pies.c
index b54ca47..9060579 100644
--- a/src/pies.c
+++ b/src/pies.c
@@ -2436,6 +2436,7 @@ main (int argc, char **argv)
while (action == ACTION_CONT);
progman_stop ();
+ remove_pidfile (pidfile);
if (action == ACTION_RESTART && argv[0][0] == '/')
{
@@ -2445,7 +2446,6 @@ main (int argc, char **argv)
for (i = getmaxfd (); i > minfd; i--)
close (i);
- remove_pidfile (pidfile);
signal_setup (SIG_DFL);
execv (argv[0], argv);

Return to:

Send suggestions and report system problems to the System administrator.