mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-12-22 10:23:09 +00:00
setup_repos: fix a logic bug
we might be on a non-update waonly path here, we can't bail in that case. Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
de4735f6f1
commit
6d4a8a9fb7
@ -609,7 +609,7 @@ sub setup_repos {
|
||||
$udstring =~ s/_/,/;
|
||||
}
|
||||
else {
|
||||
die "Neither ADVISORY_NVRS nor KOJITASK set! Don't know what to do";
|
||||
die "Neither ADVISORY_NVRS nor KOJITASK set! Don't know what to do" unless ($args{waonly});
|
||||
}
|
||||
my $cmd = "/usr/local/bin/setup_repos.py";
|
||||
# don't download updates if we're in workarounds-only mode or testing a tag
|
||||
|
Loading…
Reference in New Issue
Block a user