mirror of
https://git.savannah.gnu.org/git/parallel.git
synced 2024-12-23 05:07:54 +00:00
niceload: Treated CTRL-Z wrongly
This commit is contained in:
parent
36e690d55f
commit
67683ba324
|
@ -300,9 +300,10 @@ sub kill_child_CONT {
|
||||||
|
|
||||||
sub kill_child_TSTP {
|
sub kill_child_TSTP {
|
||||||
my $self = $Global::process;
|
my $self = $Global::process;
|
||||||
::debug("SIGTSTP received. Killing $self->{'pid'} and self\n");
|
::debug("SIGTSTP received. Killing $self->{'pid'} and self ($$)\n");
|
||||||
kill TSTP => -getpgrp($self->{'pid'});
|
kill TSTP => -getpgrp($self->{'pid'});
|
||||||
kill STOP => -$$;
|
kill STOP => -$$;
|
||||||
|
kill STOP => $$;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue