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