diff options
author | Thierry Vignaud <tv@mageia.org> | 2012-09-25 06:23:35 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2012-09-25 06:23:35 +0000 |
commit | 0e549fa3dd7930ebf8cb26746da819dfcb591d86 (patch) | |
tree | 4f5a7b40351b09556c5dfb3a50675369269d94e1 /ulri | |
parent | f330b62eaad55827697f10b2ed1d389a8ac0b756 (diff) | |
download | iurt-0e549fa3dd7930ebf8cb26746da819dfcb591d86.tar iurt-0e549fa3dd7930ebf8cb26746da819dfcb591d86.tar.gz iurt-0e549fa3dd7930ebf8cb26746da819dfcb591d86.tar.bz2 iurt-0e549fa3dd7930ebf8cb26746da819dfcb591d86.tar.xz iurt-0e549fa3dd7930ebf8cb26746da819dfcb591d86.zip |
std subify
Diffstat (limited to 'ulri')
-rwxr-xr-x | ulri | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -758,7 +758,7 @@ exit(); # sub get_pid_from_file { - my $file = shift; + my ($file) = @_; my $pid; open my $FILE, $file || die "FATAL: can't open $file"; @@ -786,8 +786,7 @@ sub read_line { } sub check_file_timeout { - my $file = shift; - my $time = shift; + my ($file, $time) = @_; my $i = 0; while ($i < $time && (!-f $file || -z $file)) { sleep 1; $i++ } |