mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
linux-container: Add comment on exception handling.
* gnu/build/linux-container.scm (run-container): Add note about writing the exceptions.
This commit is contained in:
parent
168aba2978
commit
36c4917c91
1 changed files with 2 additions and 0 deletions
|
@ -235,6 +235,8 @@ (define (run-container root mounts namespaces host-uids thunk)
|
|||
namespaces)))
|
||||
(lambda args
|
||||
;; Forward the exception to the parent process.
|
||||
;; FIXME: SRFI-35 conditions and non-trivial objects
|
||||
;; cannot be 'read' so they shouldn't be written as is.
|
||||
(write args child)
|
||||
(primitive-exit 3))))
|
||||
;; TODO: Manage capabilities.
|
||||
|
|
Loading…
Reference in a new issue