aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Iurt/Queue.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Iurt/Queue.pm')
-rw-r--r--lib/Iurt/Queue.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Iurt/Queue.pm b/lib/Iurt/Queue.pm
index 3f552b9..c4c79ad 100644
--- a/lib/Iurt/Queue.pm
+++ b/lib/Iurt/Queue.pm
@@ -55,10 +55,10 @@ sub apply_to_upload_tree {
}
sub check_if_mandatory_arch_failed {
- my ($done_dir, $prefix, $ent, $config) = @_;
+ my ($media, $prefix, $ent, $config) = @_;
my $mandatory_arch = get_mandatory_arch($config, $ent->{target});
foreach my $arch (@$mandatory_arch) {
- return 1 if -f "${done_dir}/${prefix}_${arch}.fail";
+ return 1 if $ent->{media}{$media}{failed_arch}{$arch};
}
}