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

remotes/origin/5.1
Ander Punnar 6 years ago
parent 7a25ec00ed
commit 03f8c3aaed
  1. 3
      cdist/conf/type/__acl/gencode-remote

@ -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" )"

Loading…
Cancel
Save