diff options
author | Andreas Baumann <abaumann@yahoo.com> | 2009-01-12 16:29:43 +0100 |
---|---|---|
committer | Andreas Baumann <abaumann@yahoo.com> | 2009-01-12 16:29:43 +0100 |
commit | 4ff4c9ac144a2fcebcdcc8295fff6c34b5b48c51 (patch) | |
tree | 50a5ce35f34df1397e76e79b72e5b9829ae2ea53 /src | |
parent | 71004021851e99a7a431423915b751c02bd10929 (diff) | |
download | wolfbones-4ff4c9ac144a2fcebcdcc8295fff6c34b5b48c51.tar.gz wolfbones-4ff4c9ac144a2fcebcdcc8295fff6c34b5b48c51.tar.bz2 |
better log message in daemon_exit, seems to work again
Diffstat (limited to 'src')
-rw-r--r-- | src/daemon/daemon.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/daemon/daemon.c b/src/daemon/daemon.c index ad35298..2643a06 100644 --- a/src/daemon/daemon.c +++ b/src/daemon/daemon.c @@ -465,7 +465,8 @@ NORETURN void daemon_exit( daemon_p d ) { int exit_code; int pid_file_fd; - LOG( log_DEBUG, "daemon_exit called with error %d", d->error ); + LOG( log_DEBUG, "daemon_exit called int state %d error %d", + d->state, d->error ); switch( d->state ) { case TERMINATE_EXIT_CODE: |