diff options
author | Pascal Terjan <pterjan@mageia.org> | 2012-11-26 21:16:16 +0000 |
---|---|---|
committer | Pascal Terjan <pterjan@mageia.org> | 2012-11-26 21:16:16 +0000 |
commit | 8f03e6a476f02c4b0517cf463d4e02b623f3b750 (patch) | |
tree | 0505c7e47249706de106126c352fd95ca0ce96b9 /emi | |
parent | 9df5f4aa022c171e023dbe25ccdc68283565e92e (diff) | |
download | iurt-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-x | emi | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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"; |