From 67683ba324eaa6527a70d22b613b6f7539c0535a Mon Sep 17 00:00:00 2001 From: Ole Tange Date: Thu, 21 Jul 2011 00:58:38 +0200 Subject: [PATCH] niceload: Treated CTRL-Z wrongly --- src/niceload | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 => $$; }