Skip to content

Commit

Permalink
server: update writable message
Browse files Browse the repository at this point in the history
  • Loading branch information
tsl0922 committed Nov 26, 2024
1 parent 114d994 commit 8ea2e50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 8ea2e50

Please sign in to comment.