Suggest badname if name has special characters
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=2076819 Signed-off-by: Iker Pedrosa <ipedrosa@redhat.com>
This commit is contained in:
committed by
Serge Hallyn
parent
58b6e97a9e
commit
0593b330d8
@ -1095,7 +1095,7 @@ static void process_flags (int argc, char **argv)
|
||||
case 'l':
|
||||
if (!is_valid_user_name (optarg)) {
|
||||
fprintf (stderr,
|
||||
_("%s: invalid user name '%s'\n"),
|
||||
_("%s: invalid user name '%s': use --badname to ignore\n"),
|
||||
Prog, optarg);
|
||||
exit (E_BAD_ARG);
|
||||
}
|
||||
|
Reference in New Issue
Block a user