diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2021-03-19 18:50:24 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2021-03-19 19:07:10 -0700 |
commit | ab99f21ad9b7af5905481d3f56e58c3b320e3303 (patch) | |
tree | ec5daefb233dee153c0299449cca3ff80bcbb069 /src/propspec.lisp | |
parent | 8e4553269a4d2a14b0160ec9def80cade6648245 (diff) | |
download | consfigurator-ab99f21ad9b7af5905481d3f56e58c3b320e3303.tar.gz |
don't try to call COMPLEMENT on nil
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
Diffstat (limited to 'src/propspec.lisp')
-rw-r--r-- | src/propspec.lisp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/propspec.lisp b/src/propspec.lisp index 8572cae..d1fabd1 100644 --- a/src/propspec.lisp +++ b/src/propspec.lisp @@ -336,7 +336,8 @@ apply the elements of REQUIREMENTS in reverse order." :lambda (proplambda psym) :desc (lambda (&rest args) (strcat "Unapply: " (apply #'propdesc psym args))) - :check (complement (get psym 'check)) + :check (when-let ((check (get psym 'check))) + (complement check)) :hostattrs (lambda (&rest args) ;; run the :HOSTATTRS subroutine but throw away any ;; new hostattrs; when unapplying, the :HOSTATTRS |