]> granicus.if.org Git - shadow/commitdiff
Allow the -b option even without the -D option.
authornekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Sat, 17 Nov 2007 15:07:59 +0000 (15:07 +0000)
committernekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Sat, 17 Nov 2007 15:07:59 +0000 (15:07 +0000)
ChangeLog
src/useradd.c

index eda82668c315ba7cdeccad0fcf366b072486e3c7..b3a7bcc6bee753705ab879c26fbbb42ec39b531f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
+
+       * src/useradd.c: Allow the -b option even without the -D option.
+
 2007-11-17  Nicolas François  <nicolas.francois@centraliens.net>
 
        * src/usermod.c: Use the same error message for the below errors.
index 882ce431819439c6709d9e639d319b2ec57981e6..4527a5739e9d1445ec8be4b21e5a86cf61e6904a 100644 (file)
@@ -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,