use new wrapper __cdist_run_shell

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
Nico Schottelius 2011-08-02 12:17:48 +02:00
commit 7fab1c9dd9
3 changed files with 3 additions and 3 deletions

View file

@ -40,7 +40,7 @@ __cdist_code_run()
if [ -f "$__cdist_code" ]; then
if [ -x "$__cdist_code" ]; then
__cdist_echo info "Executing code-${__cdist_code_type}"
__cdist_exec_fail_on_error "$__cdist_code"
__cdist_run_shell "$__cdist_code"
else
__cdist_exit_err "$__cdist_code exists, but is not executable."
fi