summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--server/src/daemon.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/server/src/daemon.cc b/server/src/daemon.cc
index aabaa2f..8297111 100644
--- a/server/src/daemon.cc
+++ b/server/src/daemon.cc
@@ -103,6 +103,7 @@ int Daemon::run(const char *user, const char* group, bool detach,
umask(0);
+ /*
if(pidfile != "" ) {
FILE *fp = fopen(pidfile.c_str(), "r");
if(fp != NULL) {
@@ -113,6 +114,7 @@ int Daemon::run(const char *user, const char* group, bool detach,
return -1;
}
}
+ */
if(detach) {
if(daemon(0, 0) == -1) {