diff options
author | Brendan Abolivier <babolivier@matrix.org> | 2019-12-04 17:48:23 +0000 |
---|---|---|
committer | Brendan Abolivier <babolivier@matrix.org> | 2019-12-04 17:48:23 +0000 |
commit | 6cd11109db27232d5671d14def4be88646df28d9 (patch) | |
tree | 88681798eb8d73520f8a3df7f7b2be20152313b9 /scripts | |
parent | Merge pull request #6454 from matrix-org/erikj/clean_base_Store (diff) | |
download | synapse-6cd11109db27232d5671d14def4be88646df28d9.tar.xz |
Make synapse_port_db exit with a non-0 code if something failed
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/synapse_port_db | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/synapse_port_db b/scripts/synapse_port_db index f24b8ffe67..705055ce43 100755 --- a/scripts/synapse_port_db +++ b/scripts/synapse_port_db @@ -1055,3 +1055,4 @@ if __name__ == "__main__": if end_error_exec_info: exc_type, exc_value, exc_traceback = end_error_exec_info traceback.print_exception(exc_type, exc_value, exc_traceback) + sys.exit(5) |