1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-12-22 02:13:08 +00:00

fifloader: Run upstream loader with check=True

Otherwise we exit 0 even if that run fails.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2020-04-18 12:08:55 -07:00
parent f3d6a9574c
commit 3a0b6349e7

View File

@ -340,7 +340,7 @@ def run(args):
if args.update:
loadargs.append('--update')
loadargs.append('-')
subprocess.run(loadargs, input=json.dumps(out), text=True)
subprocess.run(loadargs, input=json.dumps(out), text=True, check=True)
def main():
"""Main loop."""