Fail properly

This commit is contained in:
Luke Murphy 2020-03-26 11:58:23 +01:00
parent 741d0163ea
commit ddb545a32e
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC

View File

@ -6,7 +6,8 @@ source "$PLUGIN_CORE_AVAILABLE_PATH/common/functions"
dokku-ansible-playbook-validate-dependencies() {
if ! command -v "ansible-playbook" &>/dev/null; then
log-fail "Missing ansible-playbook, run dokku plugin:install-dependencies"
dokku_col_log_info1_quiet "Missing ansible-playbook, run dokku plugin:install-dependencies"
exit 0
fi
}