Skip to content
Commit ab7773da authored by Peter Bigot's avatar Peter Bigot Committed by Carles Cufi
Browse files

sanitycheck: leave non-tty terminal unmodified on exit



The terminal configuration should not be reset on exit if
sanitycheck's output is being directed to something that mediates the
terminal control, such as a pager.  Only do the reset if stdout is
interactive.

Signed-off-by: default avatarPeter Bigot <peter.bigot@nordicsemi.no>
parent 235a5e5e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment