blob: b2ae3d71a41b73ffe3bbe98d3cde008cb2147613 (
plain)
1
2
3
4
5
6
7
|
# redirection errors with special builtins should exit the shell when in
# Posix mode, not otherwise; being on the LHS of || or && should not make
# a difference
exec 9<no_such_file || echo TEST
set -o posix
exec 9<no_such_file || echo TEST
|