From dc5ead6a5a3c011d33b30b099960fda71bfc0991 Mon Sep 17 00:00:00 2001 From: Jonas Date: Sat, 16 Nov 2013 12:43:11 +0100 Subject: Fix resolve fullname before use. --- adduser.local | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/adduser.local b/adduser.local index 319255e..eca4084 100755 --- a/adduser.local +++ b/adduser.local @@ -98,8 +98,9 @@ if [ -z "$profile_aux" ] && [ -n "$VERBOSE" ] && [ "$VERBOSE" -gt 0 ] && [ -n "$ read subscribe case $subscribe in y|Y) + fullname="`fullname`" if [ -n "$fullname" ]; then - subscriber="`fullname` <$NEWUSERNAME@$maildomain>" + subscriber="$fullname <$NEWUSERNAME@$maildomain>" else subscriber="$NEWUSERNAME@$maildomain" fi -- cgit v1.2.3