mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 05:13:10 +00:00
Use setsid to daemonize fishd
darcs-hash:20051007091716-ac50b-d7a5e672ceff9d8b499157796161d9bbd9811059.gz
This commit is contained in:
parent
83fad99216
commit
a85bde8f71
1 changed files with 1 additions and 1 deletions
2
fishd.c
2
fishd.c
|
@ -294,7 +294,7 @@ static void daemonize()
|
||||||
/*
|
/*
|
||||||
Put ourself in out own processing group
|
Put ourself in out own processing group
|
||||||
*/
|
*/
|
||||||
setpgid( 0, 0 );
|
setsid();
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Close stdin and stdout
|
Close stdin and stdout
|
||||||
|
|
Loading…
Reference in a new issue