Here's the requested changes to make it re'ask the question on an invalid input.
I left the code in for the default answer, but commented out. Scot Index: adduser.sh =================================================================== RCS file: /home/ncvs/src/usr.sbin/adduser/adduser.sh,v retrieving revision 1.3 diff -u -r1.3 adduser.sh --- adduser.sh 3 Dec 2002 05:41:09 -0000 1.3 +++ adduser.sh 22 Jan 2003 15:38:02 -0000 @@ -871,4 +871,22 @@ fi else input_interactive + while : ; do + echo -n "Add another user? (yes/no): " + read _input +# [ -z "$_input" ] && _input="No" + case $_input in + [Yy][Ee][Ss]|[Yy][Ee]|[Yy]) + input_interactive + continue + ;; + [Nn][Oo]|[Nn]) + echo "Goodbye!" + ;; + *) + continue + ;; + esac + break + done fi To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message