mirror of
https://github.com/cytopia/devilbox.git
synced 2024-12-20 05:17:53 +00:00
Add hints to check-config.sh
This commit is contained in:
parent
039ffacaf7
commit
70695d179c
@ -25,7 +25,7 @@ log_err() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
log_info() {
|
log_info() {
|
||||||
printf "[INFO] %s\\n" "${1}"
|
printf "\\e[;34m[INFO] %s\\e[0m\\n" "${1}"
|
||||||
}
|
}
|
||||||
|
|
||||||
log_ok() {
|
log_ok() {
|
||||||
@ -493,9 +493,11 @@ print_head_1 "SUMMARY"
|
|||||||
if [ "${RET_CODE}" -gt "0" ]; then
|
if [ "${RET_CODE}" -gt "0" ]; then
|
||||||
log_err "Found ${RET_CODE} error(s)"
|
log_err "Found ${RET_CODE} error(s)"
|
||||||
log_err "Devilbox might not work properly"
|
log_err "Devilbox might not work properly"
|
||||||
log_err "Fix the errors before submitting a bug report"
|
log_err "Fix the issues before submitting a bug report"
|
||||||
|
log_info "Ensure to run 'docker-compose stop; docker-compose rm -f' on changes in .env"
|
||||||
exit 1
|
exit 1
|
||||||
else
|
else
|
||||||
log_ok "Found no errors"
|
log_ok "Found no errors"
|
||||||
|
log_info "Ensure to run 'docker-compose stop; docker-compose rm -f' when .env was changed"
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user