1
0
mirror of https://github.com/mailcow/mailcow-dockerized.git synced 2025-12-13 18:06:01 +00:00

Add color-coded error message for missing mailcow.conf

This commit is contained in:
Hassan A Hashim
2024-08-06 17:51:46 +03:00
parent b0339372b5
commit cc0dc2eae0

View File

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