From e39a941413cd227f872a4182f28760660eae12d3 Mon Sep 17 00:00:00 2001 From: nekral-guest Date: Sat, 17 Nov 2007 15:07:59 +0000 Subject: [PATCH] Allow the -b option even without the -D option. --- ChangeLog | 4 ++++ src/useradd.c | 3 --- 2 files changed, 4 insertions(+), 3 deletions(-) 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,