Merge branch 'fix/type/__file/pre-exists-dryrun' into 'master'

__file: Fix --state pre-exists

See merge request ungleich-public/cdist!944
This commit is contained in:
poljakowski 2020-10-29 09:29:41 +01:00
commit eda96a06a0

View file

@ -87,11 +87,6 @@ case "$state_should" in
fi
;;
pre-exists)
# pre-exists should never reach gencode-remote…
exit 1
;;
absent)
if [ "$type" = "file" ]; then
echo "rm -f '$destination'"