From eb52df73226b7754db8116a6eb3d85897438479f Mon Sep 17 00:00:00 2001 From: Shuanglei Tao Date: Mon, 19 Jun 2023 08:59:52 +0800 Subject: [PATCH] server: print working directory on start --- src/server.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/server.c b/src/server.c index 541f8d4..9c8f118 100644 --- a/src/server.c +++ b/src/server.c @@ -151,6 +151,7 @@ static void print_config() { if (server->max_clients > 0) lwsl_notice(" max clients: %d\n", server->max_clients); if (server->once) lwsl_notice(" once: true\n"); if (server->index != NULL) lwsl_notice(" custom index.html: %s\n", server->index); + if (server->cwd != NULL) lwsl_notice(" working directory: %s\n", server->cwd); if (!server->writable) lwsl_notice("The --writable option is not set, will start in readonly mode"); } -- 2.43.4