unified logname uses into fm_username
[feisty_meow.git] / scripts / system / add_domain.sh
index 711bca44099cef2f1b87db9129eda97ebe639c13..dfce536012e91917b434a1ee041a5b3622e13080 100644 (file)
@@ -26,7 +26,7 @@ if [ -z "$IP_ADDRESS" ]; then
 fi
 if [ -z "$SERVER_ADMIN" ]; then
   # the email address (where first dot is replaced by @) for the administrator of the domain.
-  SERVER_ADMIN="$(logname).localhost"
+  SERVER_ADMIN="$(fm_username).localhost"
   echo "** defaulting server admin to $SERVER_ADMIN"
 fi
 if [ -z "$MAIN_NAME_SERVER" ]; then