forked from ungleich-public/cdist
ignore nonexistent files when deleting
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
This commit is contained in:
parent
4836504ad6
commit
2b8d0731a1
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ case "$state_should" in
|
||||||
echo ln ${lnopt} -f \"$source\" \"$destination\"
|
echo ln ${lnopt} -f \"$source\" \"$destination\"
|
||||||
;;
|
;;
|
||||||
absent)
|
absent)
|
||||||
echo rm \"$destination\"
|
echo rm -f \"$destination\"
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
echo "Unknown state" >&2
|
echo "Unknown state" >&2
|
||||||
|
|
Loading…
Reference in a new issue