diff options
author | Thierry Vignaud <tv@mageia.org> | 2012-12-11 09:03:35 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2012-12-11 09:03:35 +0000 |
commit | 255b3461ad633b53c6c42b5403ac5db56e3f11bc (patch) | |
tree | b943d6ce5173dc9869c246f8101dce0c559ed1fa | |
parent | c894f7802e82644053bf301ad6d24aae3e046cb7 (diff) | |
download | iurt-255b3461ad633b53c6c42b5403ac5db56e3f11bc.tar iurt-255b3461ad633b53c6c42b5403ac5db56e3f11bc.tar.gz iurt-255b3461ad633b53c6c42b5403ac5db56e3f11bc.tar.bz2 iurt-255b3461ad633b53c6c42b5403ac5db56e3f11bc.tar.xz iurt-255b3461ad633b53c6c42b5403ac5db56e3f11bc.zip |
(empty_status) simplify, make it cleaer and kill a perl_checker warning
-rwxr-xr-x | iurt | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1407,7 +1407,7 @@ sub status_file { sub empty_status { my ($local_spool, $run) = @_; my $status_file = status_file($local_spool, $run); - open my $file, ">$status_file"; + truncate($status_file, 0); } sub write_status { |