mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-13 21:44:16 +00:00
Switch from setpgrp to setpgid for platform independence
darcs-hash:20051006103901-ac50b-cd58dc150d1419ab6c19706fd40fd33842e30e16.gz
This commit is contained in:
parent
401e060c05
commit
3b02b76c79
2 changed files with 2 additions and 2 deletions
|
@ -622,7 +622,7 @@ int main( int argc, char **argv )
|
|||
complete_init();
|
||||
reader_init();
|
||||
env_init();
|
||||
|
||||
|
||||
test_util();
|
||||
test_tok();
|
||||
test_parser();
|
||||
|
|
2
fishd.c
2
fishd.c
|
@ -296,7 +296,7 @@ static void daemonize()
|
|||
/*
|
||||
Put ourself in out own processing group
|
||||
*/
|
||||
setpgrp();
|
||||
setpgid( 0, 0 );
|
||||
|
||||
/*
|
||||
Close stdin and stdout
|
||||
|
|
Loading…
Reference in a new issue