[Pkg-shadow-commits] r1364 - in upstream/trunk: . src

nekral-guest at alioth.debian.org nekral-guest at alioth.debian.org
Sat Nov 17 15:07:59 UTC 2007


Author: nekral-guest
Date: 2007-11-17 15:07:59 +0000 (Sat, 17 Nov 2007)
New Revision: 1364

Modified:
   upstream/trunk/ChangeLog
   upstream/trunk/src/useradd.c
Log:
Allow the -b option even without the -D option.


Modified: upstream/trunk/ChangeLog
===================================================================
--- upstream/trunk/ChangeLog	2007-11-17 14:49:39 UTC (rev 1363)
+++ upstream/trunk/ChangeLog	2007-11-17 15:07:59 UTC (rev 1364)
@@ -1,5 +1,9 @@
 2007-11-17  Nicolas François  <nicolas.francois at centraliens.net>
 
+	* src/useradd.c: Allow the -b option even without the -D option.
+
+2007-11-17  Nicolas François  <nicolas.francois at centraliens.net>
+
 	* src/usermod.c: Use the same error message for the below errors.
 	(option working ONLY if another is specified).
 

Modified: upstream/trunk/src/useradd.c
===================================================================
--- upstream/trunk/src/useradd.c	2007-11-17 14:49:39 UTC (rev 1363)
+++ upstream/trunk/src/useradd.c	2007-11-17 15:07:59 UTC (rev 1364)
@@ -1005,9 +1005,6 @@
 				     long_options, NULL)) != -1) {
 			switch (c) {
 			case 'b':
-				if (!Dflg)
-					usage ();
-
 				if (!VALID (optarg)
 				    || optarg[0] != '/') {
 					fprintf (stderr,




More information about the Pkg-shadow-commits mailing list