diff options
author | Thierry Vignaud <tv@mageia.org> | 2012-03-24 15:37:42 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2012-03-24 15:37:42 +0000 |
commit | 2ef96df734e31c5af9057d5288d55c0bdc10232e (patch) | |
tree | 4b30a9a286a76c0721d4ce10125bdb899c5e77e8 | |
parent | 6f89345e4d1e0dbb93062f9279d204338f6f98bd (diff) | |
download | iurt-2ef96df734e31c5af9057d5288d55c0bdc10232e.tar iurt-2ef96df734e31c5af9057d5288d55c0bdc10232e.tar.gz iurt-2ef96df734e31c5af9057d5288d55c0bdc10232e.tar.bz2 iurt-2ef96df734e31c5af9057d5288d55c0bdc10232e.tar.xz iurt-2ef96df734e31c5af9057d5288d55c0bdc10232e.zip |
(check_pid) kill unused 'local' arg
-rwxr-xr-x | iurt2 | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |