ignore nonexistent files when deleting

Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
This commit is contained in:
Steven Armstrong 2011-07-22 00:42:12 +02:00
parent 4836504ad6
commit 2b8d0731a1
1 changed files with 1 additions and 1 deletions

View File

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