diff --git a/src/niceload b/src/niceload index 67327753..86c02dce 100755 --- a/src/niceload +++ b/src/niceload @@ -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 => $$; }