aboutsummaryrefslogtreecommitdiffstats
path: root/iurt2
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-03-24 15:37:42 +0000
committerThierry Vignaud <tv@mageia.org>2012-03-24 15:37:42 +0000
commit2ef96df734e31c5af9057d5288d55c0bdc10232e (patch)
tree4b30a9a286a76c0721d4ce10125bdb899c5e77e8 /iurt2
parent6f89345e4d1e0dbb93062f9279d204338f6f98bd (diff)
downloadiurt-2ef96df734e31c5af9057d5288d55c0bdc10232e.tar
iurt-2ef96df734e31c5af9057d5288d55c0bdc10232e.tar.gz
iurt-2ef96df734e31c5af9057d5288d55c0bdc10232e.tar.bz2
iurt-2ef96df734e31c5af9057d5288d55c0bdc10232e.tar.xz
iurt-2ef96df734e31c5af9057d5288d55c0bdc10232e.zip
(check_pid) kill unused 'local' arg
Diffstat (limited to 'iurt2')
-rwxr-xr-xiurt24
1 files changed, 2 insertions, 2 deletions
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;