mirror of
https://codeberg.org/puppe/secrets.git
synced 2025-12-20 00:42:17 +01:00
Exit with status 1 if sub-process fails
This commit is contained in:
parent
88b66fe6bc
commit
ab39b45e30
1 changed files with 5 additions and 1 deletions
6
secrets
6
secrets
|
|
@ -219,7 +219,11 @@ EOF
|
||||||
(handle-stdin stdin phase-channel basedir files)))])
|
(handle-stdin stdin phase-channel basedir files)))])
|
||||||
|
|
||||||
(thread-wait stderr-thread)
|
(thread-wait stderr-thread)
|
||||||
(thread-wait stdin-thread))))
|
(thread-wait stdin-thread))
|
||||||
|
(subprocess-wait sp)
|
||||||
|
(let ([status (subprocess-status sp)])
|
||||||
|
(unless (equal? status 0)
|
||||||
|
(exit 1)))))
|
||||||
|
|
||||||
(void))
|
(void))
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue