]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
sh: Use 126 and 127 exit status for failures opening a script
authorjilles <jilles@FreeBSD.org>
Tue, 27 Nov 2018 21:49:59 +0000 (21:49 +0000)
committerjilles <jilles@FreeBSD.org>
Tue, 27 Nov 2018 21:49:59 +0000 (21:49 +0000)
commitc940c005ff06568c4a66aa9b0ac31567ea205f71
treee2a0d805f2cfea47de6db3395da0d4e6d131fd24
parentfe95ab29eb9b296aab7eee74986f1e675a07c0c7
sh: Use 126 and 127 exit status for failures opening a script

This affects scripts named on the command line, named with a '.' special
builtin and found via the PATH %func autoloading mechanism.

PR: 231986
bin/sh/input.c
bin/sh/sh.1
bin/sh/tests/errors/Makefile
bin/sh/tests/errors/script-error1.0 [new file with mode: 0644]