aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2015-10-30 16:22:53 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2015-10-30 16:22:53 +0100
commit6d68754c04b83c48074afd48cec58e8c0cd632ef (patch)
tree77035d7f0265c57ecebe55b589637d1a84e623c5
parenta90bc77f277db95c9f53d6fd75847b9815dbb23e (diff)
downloadiurt-6d68754c04b83c48074afd48cec58e8c0cd632ef.tar
iurt-6d68754c04b83c48074afd48cec58e8c0cd632ef.tar.gz
iurt-6d68754c04b83c48074afd48cec58e8c0cd632ef.tar.bz2
iurt-6d68754c04b83c48074afd48cec58e8c0cd632ef.tar.xz
iurt-6d68754c04b83c48074afd48cec58e8c0cd632ef.zip
log which timeout value was used
-rw-r--r--lib/Iurt/Process.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Iurt/Process.pm b/lib/Iurt/Process.pm
index 66b604f..9dfd1ad 100644
--- a/lib/Iurt/Process.pm
+++ b/lib/Iurt/Process.pm
@@ -261,7 +261,7 @@ sub perform_command {
eval {
# handle timeout:
local $SIG{ALRM} = sub {
- print "Timeout!\n";
+ print "Timeout! (timeout was $opt{timeout})\n";
$kill = 1;
die "alarm\n"; # NB: \n required
};