diff options
-rwxr-xr-x | ulri | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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; |