mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-24 12:23:32 +01:00
LOG_ERR is for when we're going to exit
svn:r2348
This commit is contained in:
parent
a885eea609
commit
8954cd91ce
@ -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. */
|
||||||
|
Loading…
Reference in New Issue
Block a user