aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xulri3
1 files changed, 2 insertions, 1 deletions
diff --git a/ulri b/ulri
index aadf51a..334a926 100755
--- a/ulri
+++ b/ulri
@@ -428,7 +428,8 @@ foreach my $prefix (keys %pkg_tree) {
make_path("$done_dir/$prefix");
sget($remote, "$prefix_dir/log/*", "$done_dir/$prefix");
ssh($remote, "rm -rf $prefix_dir");
- if (!$ent->{srpms}) {
+ if (-d "$fail_dir/$prefix") {
+ # Other arch had failed
cleanup_failed_build($todo_dir, $done_dir, $fail_dir, $prefix, $ent);
} else {
$something_finished = 1;