Skip to content

Commit

Permalink
Fix stty for CI
Browse files Browse the repository at this point in the history
  • Loading branch information
L1ghtmann committed Jul 29, 2024
1 parent 5916bdd commit 6e225c9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/dragon/shscripts/util
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ drexit()
# This function resets terminal colors, fixes stty (just in case), and then exits with arg0's value
# It should be called on *EVERY* exit, no matter what.
echo -e "${NC}"
stty sane
if [[ -t 0 ]]; then
stty sane
fi
python3 -m dragon.update_check
exit $1
}
Expand Down

0 comments on commit 6e225c9

Please sign in to comment.