forked from ungleich-public/cdist
__acl: don't exit on missing file when dry run
This commit is contained in:
parent
7a25ec00ed
commit
03f8c3aaed
1 changed files with 1 additions and 2 deletions
|
@ -20,8 +20,7 @@
|
||||||
|
|
||||||
file_is="$( cat "$__object/explorer/file_is" )"
|
file_is="$( cat "$__object/explorer/file_is" )"
|
||||||
|
|
||||||
# TODO this check is not needed with dry-run
|
[ "$file_is" = 'missing' ] && [ -z "$__cdist_dry_run" ] && exit 0
|
||||||
[ "$file_is" = 'missing' ] && exit 0
|
|
||||||
|
|
||||||
os="$( cat "$__global/explorer/os" )"
|
os="$( cat "$__global/explorer/os" )"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue