aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xemi3
1 files changed, 1 insertions, 2 deletions
diff --git a/emi b/emi
index ac1e9a8..749c474 100755
--- a/emi
+++ b/emi
@@ -270,8 +270,7 @@ sub upload_prefix_in_section {
plog('ERROR', "upload failed ($!), rejecting files in $reject/$path/");
make_path("$reject/$path");
foreach my $rpm (@{$pkg_tree{$prefix}{section}{$section}{rpms}}) {
- link "$done/$path/${prefix}_$rpm", "$reject/$path/${prefix}_$rpm";
- plog('ERROR', "ERROR: link of $rpm failed ($!)");
+ link "$done/$path/${prefix}_$rpm", "$reject/$path/${prefix}_$rpm" or plog('ERROR', "ERROR: link of $rpm failed ($!)");
}
link "$done/$path/$prefix.youri", "$reject/$path/$prefix.youri";