diff --git a/usr.sbin/adduser/adduser.sh b/usr.sbin/adduser/adduser.sh index a8622b93881..735d178c1ae 100644 --- a/usr.sbin/adduser/adduser.sh +++ b/usr.sbin/adduser/adduser.sh @@ -447,7 +447,10 @@ get_homedir() { # allocates one if it is not specified. # get_uid() { - uuid=${uidstart} + if [ -z "$uuid" ]; then + uuid=${uidstart} + fi + _input= _prompt=