Skip to content

Commit

Permalink
Add color-coded error message for missing mailcow.conf
Browse files Browse the repository at this point in the history
  • Loading branch information
h3ssan committed Aug 6, 2024
1 parent b033937 commit cc0dc2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ while (($#)); do
shift
done

[[ ! -f mailcow.conf ]] && { echo "mailcow.conf is missing! Is mailcow installed?"; exit 1;}
[[ ! -f mailcow.conf ]] && { echo -e "\e[31mmailcow.conf is missing! Is mailcow installed?\e[0m"; exit 1;}

chmod 600 mailcow.conf
source mailcow.conf
Expand Down

0 comments on commit cc0dc2e

Please sign in to comment.