From 8eede91cd25242370543c8af139b716e46fcbd41 Mon Sep 17 00:00:00 2001 From: John Estabrook Date: Mon, 22 Aug 2022 10:34:31 -0500 Subject: graphql: T3993: add missing sys.exit() --- src/services/vyos-http-api-server | 1 + 1 file changed, 1 insertion(+) (limited to 'src') 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()) -- cgit v1.2.3