server: update writable message

This commit is contained in:
Shuanglei Tao
2024-11-26 22:30:41 +08:00
parent 114d99485e
commit 8ea2e50b69

View File

@@ -155,7 +155,7 @@ static void print_config() {
if (server->exit_no_conn) lwsl_notice(" exit_no_conn: 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");
if (!server->writable) lwsl_warn("The --writable option is not set, will start in readonly mode\n");
}
static struct server *server_new(int argc, char **argv, int start) {