src/useradd.c: including directory name in dir existence error. Prefixing output lines with program name.
This commit is contained in:
parent
5afc1c5b5f
commit
23262b249c
@ -2449,9 +2449,9 @@ int main (int argc, char **argv)
|
|||||||
(uid_t)-1, user_id, (gid_t)-1, user_gid);
|
(uid_t)-1, user_id, (gid_t)-1, user_gid);
|
||||||
} else {
|
} else {
|
||||||
fprintf (stderr,
|
fprintf (stderr,
|
||||||
_("%s: warning: the home directory already exists.\n"
|
_("%s: warning: the home directory %s already exists.\n"
|
||||||
"Not copying any file from skel directory into it.\n"),
|
"%s: Not copying any file from skel directory into it.\n"),
|
||||||
Prog);
|
Prog, user_home, Prog);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user