mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-22 10:19:57 +01:00
gpgscm: Make exception handling more robust.
* tests/gpgscm/init.scm (throw'): Check that args is a list. Signed-off-by: Justus Winter <justus@g10code.com>
This commit is contained in:
parent
026bbf0d5e
commit
df00745d6e
@ -597,7 +597,8 @@
|
||||
(cond
|
||||
((more-handlers?)
|
||||
((pop-handler) message args history))
|
||||
((and args (= 2 (length args)) (equal? *interpreter-exit* (car args)))
|
||||
((and args (list? args) (= 2 (length args))
|
||||
(equal? *interpreter-exit* (car args)))
|
||||
(*run-atexit-handlers*)
|
||||
(quit (cadr args)))
|
||||
(else
|
||||
|
Loading…
x
Reference in New Issue
Block a user