diff --git a/ChangeLog b/ChangeLog index eda82668..b3a7bcc6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2007-11-17 Nicolas François + + * src/useradd.c: Allow the -b option even without the -D option. + 2007-11-17 Nicolas François * src/usermod.c: Use the same error message for the below errors. diff --git a/src/useradd.c b/src/useradd.c index 882ce431..4527a573 100644 --- a/src/useradd.c +++ b/src/useradd.c @@ -1005,9 +1005,6 @@ static void process_flags (int argc, char **argv) long_options, NULL)) != -1) { switch (c) { case 'b': - if (!Dflg) - usage (); - if (!VALID (optarg) || optarg[0] != '/') { fprintf (stderr,