aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/daemon.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/daemon.c b/src/daemon.c
index 913f06f89..d311c5b7c 100644
--- a/src/daemon.c
+++ b/src/daemon.c
@@ -79,14 +79,6 @@ daemonize(Options *options)
g_error("problems setsid'ing");
}
- fflush(NULL);
- pid = fork();
- if (pid > 0)
- _exit(EXIT_SUCCESS);
- else if (pid < 0) {
- g_error("problems fork'ing for daemon!");
- }
-
g_debug("daemonized!");
}