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