From 8f03e6a476f02c4b0517cf463d4e02b623f3b750 Mon Sep 17 00:00:00 2001 From: Pascal Terjan Date: Mon, 26 Nov 2012 21:16:16 +0000 Subject: Do not say that link fail when it succeeds --- emi | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'emi') 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"; -- cgit v1.2.1