mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-06-21 12:57:58 +02:00
8 lines
242 B
Plaintext
8 lines
242 B
Plaintext
# 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
|