niceload: Treated CTRL-Z wrongly

This commit is contained in:
Ole Tange 2011-07-21 00:58:38 +02:00
parent 36e690d55f
commit 67683ba324

View file

@ -300,9 +300,10 @@ sub kill_child_CONT {
sub kill_child_TSTP {
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 STOP => -$$;
kill STOP => $$;
}