aboutsummaryrefslogtreecommitdiffstats
path: root/emi
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mageia.org>2012-11-26 21:16:16 +0000
committerPascal Terjan <pterjan@mageia.org>2012-11-26 21:16:16 +0000
commit8f03e6a476f02c4b0517cf463d4e02b623f3b750 (patch)
tree0505c7e47249706de106126c352fd95ca0ce96b9 /emi
parent9df5f4aa022c171e023dbe25ccdc68283565e92e (diff)
downloadiurt-8f03e6a476f02c4b0517cf463d4e02b623f3b750.tar
iurt-8f03e6a476f02c4b0517cf463d4e02b623f3b750.tar.gz
iurt-8f03e6a476f02c4b0517cf463d4e02b623f3b750.tar.bz2
iurt-8f03e6a476f02c4b0517cf463d4e02b623f3b750.tar.xz
iurt-8f03e6a476f02c4b0517cf463d4e02b623f3b750.zip
Do not say that link fail when it succeeds
Diffstat (limited to 'emi')
-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";