diff options
author | Matteo Riondato <matteo@FreeBSD.org> | 2006-01-22 18:37:51 +0000 |
---|---|---|
committer | Matteo Riondato <matteo@FreeBSD.org> | 2006-01-22 18:37:51 +0000 |
commit | 8b331e545a83b4c5a89a6d8dc069f2b974646623 (patch) | |
tree | 0525ec5c5a2ec79299b9f76c5a977ac5820da201 /adduser/adduser.sh | |
parent | 2934fb395b69cf33f1f34bbdeb315fc97255cf08 (diff) | |
download | pw-darwin-8b331e545a83b4c5a89a6d8dc069f2b974646623.tar.gz pw-darwin-8b331e545a83b4c5a89a6d8dc069f2b974646623.tar.zst pw-darwin-8b331e545a83b4c5a89a6d8dc069f2b974646623.zip |
Honour the "uuid" directive in adduser.conf
PR: conf/87914
Approved by: philip (mentor)
MFC after: 3 days
Diffstat (limited to 'adduser/adduser.sh')
-rw-r--r-- | adduser/adduser.sh | 5 |
1 files changed, 4 insertions, 1 deletions
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= |