diff options
author | John Estabrook <jestabro@vyos.io> | 2022-08-22 10:34:31 -0500 |
---|---|---|
committer | John Estabrook <jestabro@vyos.io> | 2022-08-22 12:05:49 -0500 |
commit | 8eede91cd25242370543c8af139b716e46fcbd41 (patch) | |
tree | 44672ecbdc0e03d4a1be3459cdd125f5e7636ef0 | |
parent | f60d0e1ce029925b843f635b36154c90049b9577 (diff) | |
download | vyos-1x-8eede91cd25242370543c8af139b716e46fcbd41.tar.gz vyos-1x-8eede91cd25242370543c8af139b716e46fcbd41.zip |
graphql: T3993: add missing sys.exit()
-rwxr-xr-x | src/services/vyos-http-api-server | 1 |
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()) |