From 8b78f68a7bb3dc97e9797d17317d5f30ec982ce6 Mon Sep 17 00:00:00 2001 From: Sean Whitton Date: Sat, 25 Sep 2021 16:46:41 -0700 Subject: use higher-numbered codes for change status, 1 for unhandled errors When SBCL fails to start up, such as when previously-loaded shared libraries cannot be found while trying to reinvoke a dumped image, it exits 1. We must avoid erroneously interpreting this as a successful attempt to make changes. Signed-off-by: Sean Whitton --- src/image.lisp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/image.lisp') diff --git a/src/image.lisp b/src/image.lisp index 09fc392..969cea0 100644 --- a/src/image.lisp +++ b/src/image.lisp @@ -565,7 +565,7 @@ Preprocessing must occur in the root Lisp.")) *error-output* "~&Failed to compile and/or load:~%~A~&~%Compile and/or load output:~%~%~A" c string) - (uiop:quit 3))) + (uiop:quit 1))) (when (>= *consfigurator-debug-level* 3) (format t "~&~A" string)))) ;; Continue the deployment. The READ indirection is to try -- cgit v1.2.3