mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-24 20:33:31 +01:00
add missing warning
svn:r5806
This commit is contained in:
parent
fefa34d525
commit
c562ca494a
@ -2764,8 +2764,10 @@ options_init_logs(or_options_t *options, int validate_only)
|
||||
ok = 0; goto cleanup;
|
||||
}
|
||||
if (!validate_only) {
|
||||
if (add_file_log(levelMin, levelMax, smartlist_get(elts, 2)) < 0)
|
||||
if (add_file_log(levelMin, levelMax, smartlist_get(elts, 2)) < 0) {
|
||||
warn(LD_CONFIG, "Couldn't open file for 'Log %s'", opt->value);
|
||||
ok = 0;
|
||||
}
|
||||
}
|
||||
goto cleanup;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user