[Bug 231986] non-interactive sh should return 127 for script not found
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Nov 27 21:50:34 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=231986
--- Comment #2 from commit-hook at freebsd.org ---
A commit references this bug:
Author: jilles
Date: Tue Nov 27 21:50:00 UTC 2018
New revision: 341097
URL: https://svnweb.freebsd.org/changeset/base/341097
Log:
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
Changes:
head/bin/sh/input.c
head/bin/sh/sh.1
head/bin/sh/tests/errors/Makefile
head/bin/sh/tests/errors/script-error1.0
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the freebsd-standards
mailing list