Second read in the if loop break automation as both cases in the loop require user input, removing else to allow for automation

This commit is contained in:
Tudor Georgescu 2017-03-08 17:46:07 +00:00
parent 7ca0d96bf6
commit 71319cd9eb
1 changed files with 0 additions and 2 deletions

View File

@ -19,8 +19,6 @@ fi
[[ -a /etc/timezone ]] && TZ=$(cat /etc/timezone)
if [ -z "$TZ" ]; then
read -p "Timezone: " -ei "Europe/Berlin" TZ
else
read -p "Timezone: " -ei ${TZ} TZ
fi
cat << EOF > mailcow.conf