__acl: don't exit on missing file when dry run

This commit is contained in:
ander 2019-05-19 23:22:02 +03:00
parent 7a25ec00ed
commit 03f8c3aaed
1 changed files with 1 additions and 2 deletions

View File

@ -20,8 +20,7 @@
file_is="$( cat "$__object/explorer/file_is" )"
# TODO this check is not needed with dry-run
[ "$file_is" = 'missing' ] && exit 0
[ "$file_is" = 'missing' ] && [ -z "$__cdist_dry_run" ] && exit 0
os="$( cat "$__global/explorer/os" )"