serve_header: fix exit code
This commit is contained in:
parent
46e53ad177
commit
adb12cd94f
@ -402,8 +402,8 @@ if __name__ == '__main__':
|
||||
except KeyboardInterrupt:
|
||||
log.info('exiting')
|
||||
except Exception:
|
||||
log.exception('an error occurred:')
|
||||
ec = 1
|
||||
log.exception('an error occurred:')
|
||||
finally:
|
||||
if worktrees is not None:
|
||||
worktrees.stop()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user