Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Oct 2018 17:06:03 +0000
From:      bugzilla-noreply@freebsd.org
To:        standards@FreeBSD.org
Subject:   [Bug 231986] non-interactive sh should return 127 for script not found
Message-ID:  <bug-231986-99-g5qHBaybHx@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-231986-99@https.bugs.freebsd.org/bugzilla/>
References:  <bug-231986-99@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D231986

Jilles Tjoelker <jilles@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@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.

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-231986-99-g5qHBaybHx>