We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 582b650 commit 9436b2bCopy full SHA for 9436b2b
bin/dragon
@@ -149,7 +149,7 @@ while ! [[ -z $1 ]]; do
149
v | -v ) cat $DRAGON_ROOT_DIR/internal/banner.txt
150
;;
151
* ) usage
152
- drexit
+ drexit 1
153
154
esac # who comes up with this syntax lol
155
shift
src/dragon/shscripts/util
@@ -15,7 +15,9 @@ drexit()
15
# This function resets terminal colors, fixes stty (just in case), and then exits with arg0's value
16
# It should be called on *EVERY* exit, no matter what.
17
echo -e "${NC}"
18
- stty sane
+ if [[ -t 0 ]]; then
19
+ stty sane
20
+ fi
21
python3 -m dragon.update_check
22
exit $1
23
}
0 commit comments