src/useradd.c: including directory name in dir existence error. Prefixing output lines with program name.

This commit is contained in:
ed 2019-08-07 19:41:12 +01:00
parent 5afc1c5b5f
commit 23262b249c

View File

@ -2449,9 +2449,9 @@ int main (int argc, char **argv)
(uid_t)-1, user_id, (gid_t)-1, user_gid);
} else {
fprintf (stderr,
_("%s: warning: the home directory already exists.\n"
"Not copying any file from skel directory into it.\n"),
Prog);
_("%s: warning: the home directory %s already exists.\n"
"%s: Not copying any file from skel directory into it.\n"),
Prog, user_home, Prog);
}
}