=== modified file 'bin/confz' --- bin/confz 2014-06-19 18:38:30 +0000 +++ bin/confz 2014-06-19 18:33:35 +0000 @@ -96,7 +96,7 @@ # to variable ${vars[bar]} of caller # are arguments passed to the dependency function - local name outer inner indent_prev check_only_prev check_ret + local name outer inner indent_prev check_only_prev local -a do_command_prev local -A vars_local lift @@ -132,18 +132,10 @@ if confz_${name}_check "$@"; then confz_check_ok $name else - check_ret=$? - confz_check_fail $name - if (($check_only)); then - if (($verbose)); then - print "re-running check with xtrace" - set +x - confz_${name}_check - set -x - fi - die "$name: check failed with error $check_ret" + die "$name: check failed with error $?" else + confz_check_fail $name confz_do "${do_command[@]}" "$@" # print check start