forked from ungleich-public/cdist
force removal - to not trigger rm -i behaviour in type
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
This commit is contained in:
parent
7a6ebd2c6d
commit
7d0671e529
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@ case "$state_should" in
|
||||||
absent)
|
absent)
|
||||||
# Only delete if it exists
|
# Only delete if it exists
|
||||||
if [ yes = "$(cat "$__object/explorer/exists")" ]; then
|
if [ yes = "$(cat "$__object/explorer/exists")" ]; then
|
||||||
echo rm -r \"$destination\"
|
echo rm -rf \"$destination\"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Reference in a new issue