summary refs log tree commit diff
path: root/scripts
diff options
context:
space:
mode:
authorBrendan Abolivier <babolivier@matrix.org>2019-12-04 17:48:23 +0000
committerBrendan Abolivier <babolivier@matrix.org>2019-12-04 17:48:23 +0000
commit6cd11109db27232d5671d14def4be88646df28d9 (patch)
tree88681798eb8d73520f8a3df7f7b2be20152313b9 /scripts
parentMerge pull request #6454 from matrix-org/erikj/clean_base_Store (diff)
downloadsynapse-6cd11109db27232d5671d14def4be88646df28d9.tar.xz
Make synapse_port_db exit with a non-0 code if something failed
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/synapse_port_db1
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)