]> git.cameronkatri.com Git - pw-darwin.git/blobdiff - adduser/adduser.sh
Don't forget the -r on the second password prompt.
[pw-darwin.git] / adduser / adduser.sh
index 6d1e469a8c4f7bdba21e3b7c92e0a04a6128a44f..096e537bb1710fa3a50f35f095dffca7a491f690 100644 (file)
@@ -638,7 +638,7 @@ input_interactive() {
                                        read -r upass
                                        echo''
                                        echo -n "Enter password again: "
                                        read -r upass
                                        echo''
                                        echo -n "Enter password again: "
-                                       read _passconfirm
+                                       read -r _passconfirm
                                        echo ''
                                        stty echo
                                        # if user entered a blank password
                                        echo ''
                                        stty echo
                                        # if user entered a blank password