aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Iurt
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Iurt')
-rw-r--r--lib/Iurt/Urpmi.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Iurt/Urpmi.pm b/lib/Iurt/Urpmi.pm
index 49025d8..53d0756 100644
--- a/lib/Iurt/Urpmi.pm
+++ b/lib/Iurt/Urpmi.pm
@@ -584,7 +584,6 @@ sub install_dynamic_buildrequires {
use_iurt_root_command => 1,
hash => "generatebuildrequires_$srpm"
);
-
return 1 if $ret;
# Unfortunately iurt_root_command hides the original error code so
@@ -611,6 +610,7 @@ sub install_dynamic_buildrequires {
} else {
# This was a failure for another reason, no point retrying
plog('ERROR', "Failed to generate dynamic BuildRequires.");
+ $run->{status}{$srpm} = 'build_failure';
return 0;
}
}