Date: Tue, 27 Nov 2018 21:50:31 +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-6ICuxztRJp@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 --- Comment #2 from commit-hook@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 --=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-6ICuxztRJp>