[Bug 231986] non-interactive sh should return 127 for script not found
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sat Oct 20 17:06:05 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=231986
Jilles Tjoelker <jilles at FreeBSD.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|New |Open
Summary|non-interactive sh should |non-interactive sh should
|return 127 for command not |return 127 for script not
|found |found
--- Comment #1 from Jilles Tjoelker <jilles at FreeBSD.org> ---
Your analysis seems correct, except that "./run-fake-command.sh" and
"fake-command" in your example are not governed by the standards text you
pasted.
The code 126 near that is for the case where opening the command_file fails for
a different reason than that it is not found.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the freebsd-standards
mailing list