diff --git a/bin/cdist-config b/bin/cdist-config index ba45e927..4bf08511 100755 --- a/bin/cdist-config +++ b/bin/cdist-config @@ -175,6 +175,10 @@ __cdist_echo() error) echo $__cdist_echo_prefix "Error: $@" >&2 ;; + *) + echo "CORE BUG, who created the broken commit?" >&2 + exit 23 + ;; esac } diff --git a/bin/cdist-object-explorer-run b/bin/cdist-object-explorer-run index 1e0fc36f..7a5068e4 100755 --- a/bin/cdist-object-explorer-run +++ b/bin/cdist-object-explorer-run @@ -40,7 +40,7 @@ if [ "$__cdist_has_explorer" ]; then if ! __cdist_type_explorer_pushed "$__cdist_type"; then src_dir="$(__cdist_type_explorer_dir "$__cdist_type")" dst_dir="$(__cdist_remote_type_explorer_dir "$__cdist_type")" - echo "Transfering explorers for $__cdist_type ..." + __cdist_echo info "Transfering explorers for $__cdist_type ..." cdist-dir push "$__cdist_target_host" "$src_dir" "$dst_dir" __cdist_type_explorer_pushed_add "$__cdist_type" fi