automation/common/bin
Chris Evich 86660f745e
[5.0.0] Fix truncating stdio magic devices
Redirecting to `/dev/stderr` or `/dev/stdout` can have a normally
unintended side-effect when the caller wishes to send either of those
elsewhere (like an actual file).  Namely, it will truncate the file
before writing.  This is almost never the expected behavior.  Update all
redirects to magic devices to append instead.

N/B: These scripts are used far and wide.  On the off-chance some
downstream caller has previously depended on this side-effect, I'm
marking this commit as 'breaking' accordingly.

Signed-off-by: Chris Evich <cevich@redhat.com>
2024-02-12 10:49:20 -05:00
..
ooe.sh [5.0.0] Fix truncating stdio magic devices 2024-02-12 10:49:20 -05:00
xrtry.sh