diff options
Diffstat (limited to 'iurt')
-rwxr-xr-x | iurt | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -938,7 +938,7 @@ retry: if (system("cp $chroot_tmp/home/$luser/rpmbuild/RPMS/*/*.rpm $local_spool &>/dev/null")) { # If copy fails (like disk full), report a failure and delete partially copied files plog('ERROR', "ERROR: could not copy rpm files from $chroot_tmp/home/$luser/rpmbuild/RPMS/ to $local_spool ($!)"); - for my $package (@packages) { + foreach my $package (@packages) { unlink "$local_spool/$package"; } } |