projects
/
rrdtool.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Remove PID file later in the cleanup process --kevin
[rrdtool.git]
/
src
/
rrd_daemon.c
diff --git
a/src/rrd_daemon.c
b/src/rrd_daemon.c
index
0e95e90
..
f0ad729
100644
(file)
--- a/
src/rrd_daemon.c
+++ b/
src/rrd_daemon.c
@@
-2528,7
+2528,6
@@
static int cleanup (void) /* {{{ */
}
journal_done();
- remove_pidfile ();
free(queue_threads);
free(config_base_dir);
@@
-2542,6
+2541,8
@@
static int cleanup (void) /* {{{ */
RRDD_LOG(LOG_INFO, "goodbye");
closelog ();
+ remove_pidfile ();
+
return (0);
} /* }}} int cleanup */