Skip to content

Commit

Permalink
The old-style QUIT of SBCL actually supports exit status. Update the …
Browse files Browse the repository at this point in the history
…code to comply with this.
  • Loading branch information
lokedhs committed Sep 4, 2012
1 parent da7d45b commit f442762
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions dev/sbcl.lisp
Expand Up @@ -97,7 +97,5 @@
(funcall exit-sym :code code)
(let ((quit-sym (symbol-if-external "QUIT" "SB-EXT")))
(if quit-sym
(if (zerop code)
(funcall quit-sym :recklessly-p t)
(error "This version of SBCL does not support exiting with a code."))
(funcall quit-sym :unix-status code :recklessly-p t)
(error "SBCL version without EXIT or QUIT."))))))

0 comments on commit f442762

Please sign in to comment.