aboutsummaryrefslogtreecommitdiffstats
path: root/iurt2
diff options
context:
space:
mode:
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;