sh: Improve error message if the script cannot be opened.
authorPeter Avalos <pavalos@dragonflybsd.org>
Sun, 21 Aug 2011 20:05:22 +0000 (13:05 -0700)
committerPeter Avalos <pavalos@dragonflybsd.org>
Sun, 21 Aug 2011 20:49:20 +0000 (13:49 -0700)
commit84021a35cdfe43b836c506f2d8f23d527b78b957
treec8eb8222000716d6a8b90a30ef2e1a78086e9ecb
parentf893ef221c0def4584d3c6814725f04a003f242c
sh: Improve error message if the script cannot be opened.

Avoid "<nosuchfile>: cannot open <nosuchfile>: ...".

Obtained-from:   FreeBSD 222699
bin/sh/options.c