xref: /freebsd/bin/sh/tests/errors/script-error1.0 (revision 61ba55bcf70f2340f9c943c9571113b3fd8eda69)
1
2{ stderr=$(${SH} /var/empty/nosuchscript 2>&1 >&3); } 3>&1
3r=$?
4[ -n "$stderr" ] && [ "$r" = 127 ]
5