diff options
-rw-r--r-- | usr.sbin/adduser/adduser.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.sbin/adduser/adduser.sh b/usr.sbin/adduser/adduser.sh index a8622b9..735d178 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= |