[Pkg-shadow-commits] r642 - trunk/debian

Christian Perrier bubulle at costa.debian.org
Thu Nov 3 16:29:24 UTC 2005


Author: bubulle
Date: 2005-11-03 16:29:23 +0000 (Thu, 03 Nov 2005)
New Revision: 642

Modified:
   trunk/debian/passwd.config
Log:
A few more $RET quoting


Modified: trunk/debian/passwd.config
===================================================================
--- trunk/debian/passwd.config	2005-11-03 07:34:45 UTC (rev 641)
+++ trunk/debian/passwd.config	2005-11-03 16:29:23 UTC (rev 642)
@@ -135,7 +135,7 @@
 		if ! root_password; then
 			# First check whether the root password was preseeded crypted
 			db_get passwd/root-password-crypted || true
-			if ! test $RET ; then
+			if ! test "$RET" ; then
 			    # No preseed of the root password hash
 			    # we will prompt the user
 			    db_input critical passwd/root-password || true
@@ -153,7 +153,7 @@
 		if ! root_password; then
 			# First check whether the root password was preseeded crypted
 			db_get passwd/root-password-crypted || true
-			if ! test $RET ; then
+			if ! test "$RET" ; then
 			    # Compare the two passwords, loop back if not
 			    # identical, or if empty.
 			    db_get passwd/root-password
@@ -248,7 +248,7 @@
 			fi
 			
 			db_get passwd/user-password-crypted || true
-			if ! test $RET ; then
+			if ! test "$RET" ; then
 			    db_input critical passwd/user-password || true
 			    COMPARE_PW=''
 			    db_input critical passwd/user-password-again \
@@ -260,7 +260,7 @@
 		db_get passwd/make-user
 		if [ "$RET" = true ] && ! is_system_user; then
 			db_get passwd/user-password-crypted || true
-			if ! test $RET ; then
+			if ! test "$RET" ; then
 			    # Compare the two passwords, loop with message if not
 			    # identical, or if empty.
 			    db_get passwd/user-password
@@ -311,7 +311,7 @@
 			fi
 			
 			db_get passwd/user-password-crypted || true
-			if ! test $RET ; then
+			if ! test "$RET" ; then
 			    # Clear password from the db, and set the password.
 			    db_set passwd/user-password ""
 			    db_set passwd/user-password-again ""




More information about the Pkg-shadow-commits mailing list