diff options
Diffstat (limited to 'server/src/daemon.cc')
-rw-r--r-- | server/src/daemon.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/server/src/daemon.cc b/server/src/daemon.cc index 938170c..e8e08ee 100644 --- a/server/src/daemon.cc +++ b/server/src/daemon.cc @@ -134,6 +134,10 @@ int Daemon::run(const char *user, const char* group, bool detach, } else { fprintf(fp, "%lu", (unsigned long int)pid); fclose(fp); + /* + fprintf(stderr, "Wrote pid %lu to file \"%s\"", + (unsigned long int)pid, pidfile.c_str()); + */ } } |