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