aboutsummaryrefslogtreecommitdiff
path: root/bin/sh/tests/errors/redirection-error5.0
blob: 1fcd47eebf960ebf95c04973458e127adf5c2e47 (plain) (blame)
1
2
3
4
5
# $FreeBSD$
# A redirection error on a subshell should not abort the shell.
exec 2>/dev/null
( echo bad ) </var/empty/x
exit 0