Use setsid to daemonize fishd

darcs-hash:20051007091716-ac50b-d7a5e672ceff9d8b499157796161d9bbd9811059.gz
This commit is contained in:
axel 2005-10-07 19:17:16 +10:00
parent 83fad99216
commit a85bde8f71

View file

@ -294,7 +294,7 @@ static void daemonize()
/*
Put ourself in out own processing group
*/
setpgid( 0, 0 );
setsid();
/*
Close stdin and stdout