From 27cf11d8ec6f554749da60ae781c2668612efe35 Mon Sep 17 00:00:00 2001 From: Teal Dulcet Date: Thu, 21 Dec 2023 08:08:32 -0800 Subject: [PATCH] Fixed SC2005: Useless echo. --- setup/questions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.