summaryrefslogtreecommitdiff
path: root/src/services
diff options
context:
space:
mode:
Diffstat (limited to 'src/services')
-rwxr-xr-xsrc/services/vyos-http-api-server2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/services/vyos-http-api-server b/src/services/vyos-http-api-server
index 4c41fa96d..b256add98 100755
--- a/src/services/vyos-http-api-server
+++ b/src/services/vyos-http-api-server
@@ -400,4 +400,4 @@ if __name__ == '__main__':
serve(app, host=server_config["listen_address"],
port=server_config["port"])
except OSError as e:
- print(f"OSError {e}")
+ sys.exit(f"OSError {e}")