summaryrefslogtreecommitdiff
path: root/src/services
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2022-08-22 10:34:31 -0500
committerJohn Estabrook <jestabro@vyos.io>2022-08-22 12:05:49 -0500
commit8eede91cd25242370543c8af139b716e46fcbd41 (patch)
tree44672ecbdc0e03d4a1be3459cdd125f5e7636ef0 /src/services
parentf60d0e1ce029925b843f635b36154c90049b9577 (diff)
downloadvyos-1x-8eede91cd25242370543c8af139b716e46fcbd41.tar.gz
vyos-1x-8eede91cd25242370543c8af139b716e46fcbd41.zip
graphql: T3993: add missing sys.exit()
Diffstat (limited to 'src/services')
-rwxr-xr-xsrc/services/vyos-http-api-server1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/services/vyos-http-api-server b/src/services/vyos-http-api-server
index af8837e1e..190f3409d 100755
--- a/src/services/vyos-http-api-server
+++ b/src/services/vyos-http-api-server
@@ -678,6 +678,7 @@ if __name__ == '__main__':
server_config = load_server_config()
except Exception as err:
logger.critical(f"Failed to load the HTTP API server config: {err}")
+ sys.exit(1)
config_session = ConfigSession(os.getpid())