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!"); }