From 8b331e545a83b4c5a89a6d8dc069f2b974646623 Mon Sep 17 00:00:00 2001 From: Matteo Riondato Date: Sun, 22 Jan 2006 18:37:51 +0000 Subject: Honour the "uuid" directive in adduser.conf PR: conf/87914 Approved by: philip (mentor) MFC after: 3 days --- adduser/adduser.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'adduser/adduser.sh') 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= -- cgit v1.2.3-56-ge451