Skip to content

Commit b7c99d9

Browse files
committed
exit..
1 parent 56a1063 commit b7c99d9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

qmpbackup

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -519,6 +519,7 @@ async def main():
519519
await cancel_jobs(stopqmp, log)
520520
await stopqmp.disconnect()
521521
log.fatal("Error executing backup: %s", errmsg)
522+
sys.exit(1)
522523
finally:
523524
if int(argv.remove_delay) > 0:
524525
log.info("Delay removal of devices by [%s] seconds", argv.remove_delay)

0 commit comments

Comments
 (0)