exit codes should be exact (issue #467)

This commit is contained in:
Alex Shinn 2018-04-05 22:11:05 +09:00
parent 278911e93c
commit 72de3ba12f

View file

@ -10,7 +10,9 @@
(else (else
(define (exit . o) (define (exit . o)
(%exit (if (pair? o) (%exit (if (pair? o)
(if (integer? (car o)) (car o) (if (eq? #t (car o)) 0 1)) (if (integer? (car o))
(inexact->exact (car o))
(if (eq? #t (car o)) 0 1))
0))))) 0)))))
(cond-expand (cond-expand