mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-21 06:20:23 +08:00
Dont let fallback implementation of killpg kill group 1
darcs-hash:20060828120122-ac50b-c5e3eb7392654feb378cdfcf11ab102418aa1386.gz
This commit is contained in:
parent
548e379d6a
commit
9525f429c6
@ -1072,7 +1072,7 @@ int _nl_msg_cat_cntr=0;
|
||||
#ifndef HAVE_KILLPG
|
||||
int killpg( int pgr, int sig )
|
||||
{
|
||||
assert( pgr > 0 );
|
||||
assert( pgr > 1 );
|
||||
return kill( -pgr, sig );
|
||||
}
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user