From 0ce15a8472a32f5112ba79bf00389a5ce0f370cd Mon Sep 17 00:00:00 2001 From: Miroslav Lichvar Date: Fri, 16 Feb 2018 10:33:04 +0100 Subject: [PATCH] main: improve error message for failed getpwnam() --- main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.c b/main.c index ab1b71a..c198ac6 100644 --- a/main.c +++ b/main.c @@ -556,7 +556,7 @@ int main } 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 */ CNF_CreateDirs(pw->pw_uid, pw->pw_gid);