summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas <dr@jones.dk>2013-11-16 12:43:11 +0100
committerJonas <dr@jones.dk>2013-11-16 12:43:11 +0100
commitdc5ead6a5a3c011d33b30b099960fda71bfc0991 (patch)
tree9f109438bb480ea36d798e9ddf0cc5aac112dea9
parente39f4ceee91a1e6ab43411e019055fd171a2148a (diff)
Fix resolve fullname before use.
-rwxr-xr-xadduser.local3
1 files changed, 2 insertions, 1 deletions
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