From 2ef96df734e31c5af9057d5288d55c0bdc10232e Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Sat, 24 Mar 2012 15:37:42 +0000 Subject: (check_pid) kill unused 'local' arg --- iurt2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'iurt2') diff --git a/iurt2 b/iurt2 index f974008..0a54f04 100755 --- a/iurt2 +++ b/iurt2 @@ -1179,7 +1179,7 @@ sub check_version { } sub check_pid { - my ($run, $local) = @_; + my ($run) = @_; my $hostname = `hostname`; chomp $hostname; my $pidfile = $run->{pidfile}; @@ -1200,7 +1200,7 @@ sub check_pid { close $lock2; } } - if (!$run->{concurrent_run} && !$local) { + if (!$run->{concurrent_run}) { opendir my $dir, $run->{pidfile_home}; foreach my $f (readdir $dir) { my ($pid_host) = $f =~ /$pidfile\.pid\.(.*)\.pid$/ or next; -- cgit v1.2.1