Fixed SC2005: Useless echo.

This commit is contained in:
Teal Dulcet 2023-12-21 08:08:32 -08:00 committed by Joshua Tauberer
parent 44d9f6eebd
commit 27cf11d8ec
1 changed files with 1 additions and 1 deletions

View File

@ -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.