diff options
author | Nick Mathewson <nickm@torproject.org> | 2006-01-11 20:09:37 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2006-01-11 20:09:37 +0000 |
commit | c562ca494ab0a2a2c3ac1976b033ff5a46417914 (patch) | |
tree | 7ccc8de1a0c825b5493534b0cc7844c3e9883d79 | |
parent | fefa34d525ab5d62584b87e708f1538b25821171 (diff) | |
download | tor-c562ca494ab0a2a2c3ac1976b033ff5a46417914.tar.gz tor-c562ca494ab0a2a2c3ac1976b033ff5a46417914.zip |
add missing warning
svn:r5806
-rw-r--r-- | src/or/config.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/or/config.c b/src/or/config.c index 7cd85c2a6a..80bf183028 100644 --- a/src/or/config.c +++ b/src/or/config.c @@ -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; } |