main: improve error message for failed getpwnam()
This commit is contained in:
parent
da60629201
commit
0ce15a8472
1 changed files with 1 additions and 1 deletions
2
main.c
2
main.c
|
@ -556,7 +556,7 @@ int main
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((pw = getpwnam(user)) == NULL)
|
if ((pw = getpwnam(user)) == NULL)
|
||||||
LOG_FATAL("Could not get %s uid/gid", user);
|
LOG_FATAL("Could not get user/group ID of %s", user);
|
||||||
|
|
||||||
/* Create all directories before dropping root */
|
/* Create all directories before dropping root */
|
||||||
CNF_CreateDirs(pw->pw_uid, pw->pw_gid);
|
CNF_CreateDirs(pw->pw_uid, pw->pw_gid);
|
||||||
|
|
Loading…
Reference in a new issue