From f4c595b79445d309e3122865019264a5d78d1284 Mon Sep 17 00:00:00 2001 From: Matteo Riondato Date: Sun, 22 Jan 2006 18:37:51 +0000 Subject: [PATCH] Honour the "uuid" directive in adduser.conf PR: conf/87914 Approved by: philip (mentor) MFC after: 3 days --- usr.sbin/adduser/adduser.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/usr.sbin/adduser/adduser.sh b/usr.sbin/adduser/adduser.sh index a8622b93881f..735d178c1aef 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=