diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2021-02-27 14:58:34 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2021-02-27 14:58:34 -0700 |
commit | 60d708c289a4ad547bc58e6cf33c2b8bb53b2da4 (patch) | |
tree | 5a0cb61faeac844e9fa0e7b7ee7ce383a7f54b8a /src/data.lisp | |
parent | 15ef751ac3f587a28baca862bd05305646bacb3b (diff) | |
download | consfigurator-60d708c289a4ad547bc58e6cf33c2b8bb53b2da4.tar.gz |
use ZEROP
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
Diffstat (limited to 'src/data.lisp')
-rw-r--r-- | src/data.lisp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/data.lisp b/src/data.lisp index cd840a7..3ed4069 100644 --- a/src/data.lisp +++ b/src/data.lisp @@ -345,7 +345,7 @@ of the current connection, where each entry is of the form (multiple-value-bind (out exit) (mrun :may-fail "find" (get-remote-data-cache-dir) "-type" "f" "-printf" "%P\\n") - (and (= 0 exit) (lines out))))) + (and (zerop exit) (lines out))))) ;; TODO on remote side, catch read errors and signal our own which says ;; something more specific -- "This has probably been caused by an attempt to |