aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2017-10-04 11:36:05 +0200
committerThierry Vignaud <thierry.vignaud@gmail.com>2017-10-04 11:36:05 +0200
commit6fa4bc4dd4bc83b95fbaa8155f5409d5f7620e90 (patch)
tree8c280c287b9afbba668999e08b69682bba1c6b1e /lib
parent767f597849c23ea28e7731ad6c835ec190b0206f (diff)
downloadiurt-6fa4bc4dd4bc83b95fbaa8155f5409d5f7620e90.tar
iurt-6fa4bc4dd4bc83b95fbaa8155f5409d5f7620e90.tar.gz
iurt-6fa4bc4dd4bc83b95fbaa8155f5409d5f7620e90.tar.bz2
iurt-6fa4bc4dd4bc83b95fbaa8155f5409d5f7620e90.tar.xz
iurt-6fa4bc4dd4bc83b95fbaa8155f5409d5f7620e90.zip
kill old commented out pkill urpmi
indeed we would never run that...
Diffstat (limited to 'lib')
-rw-r--r--lib/Iurt/Urpmi.pm3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/Iurt/Urpmi.pm b/lib/Iurt/Urpmi.pm
index 8e69c23..141d406 100644
--- a/lib/Iurt/Urpmi.pm
+++ b/lib/Iurt/Urpmi.pm
@@ -326,9 +326,6 @@ sub wait_urpmi {
sleep 30;
$self->{wait_limit}++;
if ($self->{wait_limit} > 8) {
- #$self->{wait_limit} = 0;
- # <mrl> We can't shoot such command, it's too powerfull.
- #system(qq(sudo pkill -9 urpmi &>/dev/null));
return 0;
}
}