[type/__file] Fix --state pre-exists

This commit is contained in:
Dennis Camera 2020-10-28 18:18:24 +01:00
parent 2885c6a248
commit 367da4b77e

View file

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