forked from ungleich-public/cdist
use new wrapper __cdist_run_shell
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
parent
39f1c8a242
commit
7fab1c9dd9
3 changed files with 3 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue