summaryrefslogtreecommitdiffstats
path: root/tests.sh
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2017-07-08 19:19:18 -0400
committerTavian Barnes <tavianator@tavianator.com>2017-07-08 19:27:10 -0400
commite991bc786af40623ae118eab9d400d6cd391d8c6 (patch)
tree446ad27d225293271a73f5bd970dbeddea62dceb /tests.sh
parent2a3eab05901f32aeabf0e4b45d5b50fdf056e23d (diff)
downloadbfs-e991bc786af40623ae118eab9d400d6cd391d8c6.tar.xz
exec: Clear errno when a multi-exec doesn't fail
This fixes strange "Inappropriate ioctl for device" errors when using -exec ... + with output redirection. errno was set to ENOTTY by the isatty() call during startup for color auto-detection, and never cleared before eval_exec() wants to check if anything went wrong.
Diffstat (limited to 'tests.sh')
0 files changed, 0 insertions, 0 deletions