aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-03-24 15:54:20 +0000
committerThierry Vignaud <tv@mageia.org>2012-03-24 15:54:20 +0000
commit073beb0a309e58c8feb5fb67e1a9bd1fd2e78df0 (patch)
treea66e7a640866148385fd6bd8f0a58ea6f88ae11b /lib
parent802cf9c4398d883f30be444eccf353ba4a52586b (diff)
downloadiurt-073beb0a309e58c8feb5fb67e1a9bd1fd2e78df0.tar
iurt-073beb0a309e58c8feb5fb67e1a9bd1fd2e78df0.tar.gz
iurt-073beb0a309e58c8feb5fb67e1a9bd1fd2e78df0.tar.bz2
iurt-073beb0a309e58c8feb5fb67e1a9bd1fd2e78df0.tar.xz
iurt-073beb0a309e58c8feb5fb67e1a9bd1fd2e78df0.zip
(clean) kill unused arg
Diffstat (limited to 'lib')
-rw-r--r--lib/Iurt/Process.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Iurt/Process.pm b/lib/Iurt/Process.pm
index f306fe3..0099829 100644
--- a/lib/Iurt/Process.pm
+++ b/lib/Iurt/Process.pm
@@ -308,11 +308,11 @@ sub perform_command {
sub clean_process {
my ($match, $verbose) = @_;
- return clean($match, "pgrep -u root -f", "$sudo pkill -9 -u root -f", $verbose);
+ return clean($match, "pgrep -u root -f", "$sudo pkill -9 -u root -f");
}
sub clean {
- my ($var, $cmd, $kill_cmd, $_verbose) = @_;
+ my ($var, $cmd, $kill_cmd) = @_;
plog('DEBUG', "clean command $var");
$var or die "FATAL: no command given\n.";