diff --git a/setup/questions.sh b/setup/questions.sh index dd62d44a..c18ad386 100644 --- a/setup/questions.sh +++ b/setup/questions.sh @@ -32,7 +32,7 @@ if [ -z "${PRIMARY_HOSTNAME:-}" ]; then # domain the user possibly wants to use is example.com then. # We strip the string "box." from the hostname to get the mail # domain. If the hostname differs, nothing happens here. - DEFAULT_DOMAIN_GUESS=$(echo $(get_default_hostname) | sed -e 's/^box\.//') + DEFAULT_DOMAIN_GUESS=$(get_default_hostname | sed -e 's/^box\.//') # This is the first run. Ask the user for his email address so we can # provide the best default for the box's hostname.