summaryrefslogtreecommitdiff
path: root/gnu/packages/games.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2022-08-04 11:13:48 +0200
committerLudovic Courtès <ludo@gnu.org>2022-08-04 12:05:46 +0200
commitae1f12018112573bf142596b78d75dbfd723d859 (patch)
tree005cc487db26b3631b10f46335fe9fd935a58c46 /gnu/packages/games.scm
parent18e00988176162ac736c873dc6cb06169b0aaa3b (diff)
downloadguix-patches-ae1f12018112573bf142596b78d75dbfd723d859.tar
guix-patches-ae1f12018112573bf142596b78d75dbfd723d859.tar.gz
environment: Report "command not found" from the child process.
Fixes a bug whereby, for example: guix shell bash -- bash -c xyz would erroneously print: guix shell: error: bash: command not found simply because the parent process could not distinguish that 127 from a "genuine" 127 used by convention for "command not found". * guix/scripts/environment.scm (launch-environment): Before exiting, report a "command not found" error and suggest a command name. (validate-exit-status): Remove. (launch-environment/fork): Remove call (launch-environment/container)[exit/status*]: Remove. Call 'exit/status' instead of it.
Diffstat (limited to 'gnu/packages/games.scm')
0 files changed, 0 insertions, 0 deletions