LOG_ERR is for when we're going to exit

svn:r2348
This commit is contained in:
Roger Dingledine 2004-09-10 21:39:53 +00:00
parent a885eea609
commit 8954cd91ce

View File

@ -1616,7 +1616,7 @@ char *expand_filename(const char *filename)
const char *home = getenv("HOME"); const char *home = getenv("HOME");
char *result; char *result;
if (!home) { 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; return NULL;
} }
/* minus two characters for ~/, plus one for /, plus one for NUL. */ /* minus two characters for ~/, plus one for /, plus one for NUL. */