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:
parent
f3d6a9574c
commit
3a0b6349e7
@ -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."""
|
||||
|
Loading…
Reference in New Issue
Block a user