diff options
Diffstat (limited to 'lib/command.c')
| -rw-r--r-- | lib/command.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/command.c b/lib/command.c index 4ab47e5fc2..d666e8c593 100644 --- a/lib/command.c +++ b/lib/command.c @@ -2471,6 +2471,9 @@ void command_setup_early_logging(const char *dest, const char *level) } token = strstr(dest, ":"); + if (token == NULL) + return; + token++; set_log_file(NULL, token, zlog_default->default_lvl); |
