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.lisp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/property/file.lisp b/src/property/file.lisp
index 394f761..58c3a03 100644
--- a/src/property/file.lisp
+++ b/src/property/file.lisp
@@ -23,7 +23,7 @@
For efficiency, a :LISP property might want to use streams, but there's no
point in doing that here because WRITEFILE is synchronous."
- (let* ((orig-lines (lines (readfile file)))
+ (let* ((orig-lines (and (remote-exists-p file) (lines (readfile file))))
(new-lines (funcall function orig-lines)))
(if (equal orig-lines new-lines)
:no-change