]> git.ipfire.org Git - thirdparty/shadow.git/commitdiff
src/useradd.c: including directory name in dir existence error. Prefixing output... 173/head
authored <ed@s5h.net>
Wed, 7 Aug 2019 18:41:12 +0000 (19:41 +0100)
committered <ed@s5h.net>
Wed, 7 Aug 2019 18:41:12 +0000 (19:41 +0100)
src/useradd.c

index bdd7fe8c7305065dee77deb7c7ce0200c0da63fb..94835e93a0d42edc3442520e008019068de9a6d6 100644 (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);
                }
 
        }