forked from ungleich-public/cdist
add __cdist_exec_fail_on_error
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
parent
fab863086b
commit
35387cbc61
1 changed files with 6 additions and 0 deletions
|
@ -179,6 +179,12 @@ __cdist_object_source()
|
|||
cat "${object_dir}/$__cdist_name_object_source"
|
||||
}
|
||||
|
||||
__cdist_exec_fail_on_error()
|
||||
{
|
||||
sh -e -c "$1"
|
||||
}
|
||||
|
||||
|
||||
__cdist_tmp_removal()
|
||||
{
|
||||
rm -rf "${__cdist_tmp_dir}"
|
||||
|
|
Loading…
Reference in a new issue