+ Exit with status 0 if an error occurs during exiting.
+ Minor cleanup
This commit is contained in:
parent
69248ecad2
commit
bcbd16ff0a
|
@ -347,10 +347,9 @@
|
||||||
(more)
|
(more)
|
||||||
(with-handler
|
(with-handler
|
||||||
(lambda (c m)
|
(lambda (c m)
|
||||||
(scheme-exit-now 1))
|
(scheme-exit-now 0))
|
||||||
(lambda ()
|
(lambda ()
|
||||||
(call-exit-hooks-and-narrow (lambda () #t))
|
(scsh-exit-now 0)))))
|
||||||
(more)))))
|
|
||||||
(lambda ()
|
(lambda ()
|
||||||
(with-scsh-initialized
|
(with-scsh-initialized
|
||||||
(not term-switch) context args
|
(not term-switch) context args
|
||||||
|
|
Loading…
Reference in New Issue