aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-12-04 22:44:10 +0000
committerThierry Vignaud <tv@mageia.org>2012-12-04 22:44:10 +0000
commitabf8e8d1df6bf7befab419d3f22aabbf33beef44 (patch)
tree886088ff570fba73b90797a92e44576d3d437b5e /lib
parent5a3afc8f659a01ac295e24383ec4ac18e7d58cef (diff)
downloadiurt-abf8e8d1df6bf7befab419d3f22aabbf33beef44.tar
iurt-abf8e8d1df6bf7befab419d3f22aabbf33beef44.tar.gz
iurt-abf8e8d1df6bf7befab419d3f22aabbf33beef44.tar.bz2
iurt-abf8e8d1df6bf7befab419d3f22aabbf33beef44.tar.xz
iurt-abf8e8d1df6bf7befab419d3f22aabbf33beef44.zip
perl_checker cleanups
Diffstat (limited to 'lib')
-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 d6fadc2..d05e4c4 100644
--- a/lib/Iurt/Process.pm
+++ b/lib/Iurt/Process.pm
@@ -107,7 +107,7 @@ sub fork_to_monitor {
kill 14, "-$parent_pid";
exit();
}
- if ($stat[9] + $opt{stalled_timeout} < time()){
+ if ($stat[9] + $opt{stalled_timeout} < time()) {
# If nothing was written to the logfile for more than stalled_timeout, check if the system seems busy
if ((getload())[1] < 0.5) {
plog('ERROR', "Killing current command because it seems blocked");