aboutsummaryrefslogtreecommitdiff
path: root/src/connection/shell-wrap.lisp
diff options
context:
space:
mode:
Diffstat (limited to 'src/connection/shell-wrap.lisp')
-rw-r--r--src/connection/shell-wrap.lisp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/connection/shell-wrap.lisp b/src/connection/shell-wrap.lisp
index 9619cc1..5f94302 100644
--- a/src/connection/shell-wrap.lisp
+++ b/src/connection/shell-wrap.lisp
@@ -29,7 +29,7 @@
(multiple-value-bind (out exit)
(let ((path (escape-sh-token path)))
(connection-run c #?"test -r ${path} && cat ${path}" nil))
- (if (= 0 exit) out (error "File ~S not readable" path))))
+ (if (zerop exit) out (error "File ~S not readable" path))))
(defmethod connection-writefile ((conn shell-wrap-connection)
path