diff options
Diffstat (limited to 'src/daemon.c')
-rw-r--r-- | src/daemon.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/daemon.c b/src/daemon.c index d311c5b7c..8763b5b2e 100644 --- a/src/daemon.c +++ b/src/daemon.c @@ -75,9 +75,7 @@ daemonize(Options *options) g_error("problems changing to root directory"); } - if (setsid() < 0) { - g_error("problems setsid'ing"); - } + setsid(); g_debug("daemonized!"); } |