1
0
mirror of https://github.com/mailcow/mailcow-dockerized.git synced 2025-01-08 04:05:03 +02: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
No known key found for this signature in database

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