diff options
Diffstat (limited to 'custom/lib/config.sh')
| -rw-r--r-- | custom/lib/config.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/custom/lib/config.sh b/custom/lib/config.sh index 82f5d77..cec3d8c 100644 --- a/custom/lib/config.sh +++ b/custom/lib/config.sh @@ -122,6 +122,8 @@ validate_config() { ((errors++)) fi - [[ $errors -gt 0 ]] && error "Config validation failed with $errors error(s)" + if [[ $errors -gt 0 ]]; then + error "Config validation failed with $errors error(s)" + fi info "Config validation passed" } |
