diff options
author | axel <axel@liljencrantz.se> | 2005-10-07 19:17:16 +1000 |
---|---|---|
committer | axel <axel@liljencrantz.se> | 2005-10-07 19:17:16 +1000 |
commit | a85bde8f7166869873d21bbad94102ee11a460aa (patch) | |
tree | 3566bcdbb1b644a07b8bb84cc096622496bd1d8e /fishd.c | |
parent | 83fad9921698be57ce8f0971c819f0859dc93a6b (diff) |
Use setsid to daemonize fishd
darcs-hash:20051007091716-ac50b-d7a5e672ceff9d8b499157796161d9bbd9811059.gz
Diffstat (limited to 'fishd.c')
-rw-r--r-- | fishd.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -294,7 +294,7 @@ static void daemonize() /* Put ourself in out own processing group */ - setpgid( 0, 0 ); + setsid(); /* Close stdin and stdout |