Don't count exiting with a status of 0 as a failure
This commit is contained in:
parent
21cb33a859
commit
fcf1177d2c
1 changed files with 7 additions and 6 deletions
|
|
@ -103,13 +103,14 @@
|
|||
;; No process to wait for
|
||||
#f)
|
||||
((pid . status)
|
||||
(match (hash-ref processes pid)
|
||||
((_ (id))
|
||||
(simple-format (current-error-port)
|
||||
"pid ~A (job: ~A) failed with status ~A\n"
|
||||
pid id status)
|
||||
(unless (eq? status 0)
|
||||
(match (hash-ref processes pid)
|
||||
((_ (id))
|
||||
(simple-format (current-error-port)
|
||||
"pid ~A (job: ~A) failed with status ~A\n"
|
||||
pid id status)
|
||||
|
||||
(handle-job-failure id)))
|
||||
(handle-job-failure id))))
|
||||
|
||||
(hashv-remove! processes pid)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue