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
71c33f4483
commit
4836504ad6
1 changed files with 1 additions and 1 deletions
|
@ -49,6 +49,6 @@ if [ "$state_should" = "present" ]; then
|
|||
fi
|
||||
elif [ "$state_should" = "absent" ]; then
|
||||
if [ "$exists" = "yes" ]; then
|
||||
echo rm \"$destination\"
|
||||
echo rm -f \"$destination\"
|
||||
fi
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue