]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
LOG_ERR is for when we're going to exit
authorRoger Dingledine <arma@torproject.org>
Fri, 10 Sep 2004 21:39:53 +0000 (21:39 +0000)
committerRoger Dingledine <arma@torproject.org>
Fri, 10 Sep 2004 21:39:53 +0000 (21:39 +0000)
svn:r2348

src/common/util.c

index c9b0fa1109107f32e2026f459c78df8ce160a13f..8a3e528b97240edb6ca55389bee75f3d581a117d 100644 (file)
@@ -1616,7 +1616,7 @@ char *expand_filename(const char *filename)
     const char *home = getenv("HOME");
     char *result;
     if (!home) {
-      log_fn(LOG_ERR, "Couldn't find $HOME environment variable while expanding %s", filename);
+      log_fn(LOG_WARN, "Couldn't find $HOME environment variable while expanding %s", filename);
       return NULL;
     }
     /* minus two characters for ~/, plus one for /, plus one for NUL. */