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