From: Matteo Riondato Date: Sun, 22 Jan 2006 18:37:51 +0000 (+0000) Subject: Honour the "uuid" directive in adduser.conf X-Git-Url: https://git.cameronkatri.com/pw-darwin.git/commitdiff_plain/8b331e545a83b4c5a89a6d8dc069f2b974646623?ds=sidebyside Honour the "uuid" directive in adduser.conf PR: conf/87914 Approved by: philip (mentor) MFC after: 3 days --- diff --git a/adduser/adduser.sh b/adduser/adduser.sh index a8622b9..735d178 100644 --- a/adduser/adduser.sh +++ b/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=