diff options
author | Ludovic Courtès <ludo@gnu.org> | 2021-10-26 17:09:51 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2021-11-06 23:01:21 +0100 |
commit | 5d2d87fed7efcb8f0cee040125f7768bab3df3f4 (patch) | |
tree | d3e16f855af17be7294a4a413ffa3a7404a1e1e6 /guix/build | |
parent | 3c1158ac4e5ef825a9b9a229a233fabd7cef334e (diff) | |
download | guix-patches-5d2d87fed7efcb8f0cee040125f7768bab3df3f4.tar guix-patches-5d2d87fed7efcb8f0cee040125f7768bab3df3f4.tar.gz |
environment: Suggest command upon 'execlp' failure.
* guix/scripts/environment.scm (launch-environment): Call
'primitive-_exit' upon 'system-error.
(suggest-command-name, validate-exit-status): New procedures.
(launch-environment/fork): Call 'validate-exit-status'.
(launch-environment/container)[exit/status*]: New procedure.
Use it instead of 'exit/status'.
Diffstat (limited to 'guix/build')
0 files changed, 0 insertions, 0 deletions