aboutsummaryrefslogtreecommitdiff
path: root/src/property/file.lisp
diff options
context:
space:
mode:
Diffstat (limited to 'src/property/file.lisp')
-rw-r--r--src/property/file.lisp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/property/file.lisp b/src/property/file.lisp
index 338f0d1..59d8a55 100644
--- a/src/property/file.lisp
+++ b/src/property/file.lisp
@@ -59,6 +59,7 @@ CONTENT can be a list of lines or a single string."
(:desc (if (cdr paths)
#?"@{paths} do not exist"
#?"${(car paths)} does not exist"))
+ (:check (remote-exists-p paths))
(:apply (mrun "rm" "-f" paths)))
(defprop data-uploaded :posix (iden1 iden2 destination)