Browse Source

LOG_ERR is for when we're going to exit

svn:r2348
Roger Dingledine 21 years ago
parent
commit
8954cd91ce
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/common/util.c

+ 1 - 1
src/common/util.c

@@ -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. */