Explorar el Código

LOG_ERR is for when we're going to exit

svn:r2348
Roger Dingledine hace 21 años
padre
commit
8954cd91ce
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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. */