Skip to content

Commit 8d2bbc5

Browse files
committed
resolve feedback: clear isterminal on error
1 parent ef7f217 commit 8d2bbc5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

dist/libexec/common-shared

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ if [ -e /usr/bin/tty -a "`tty`" != "not a tty" -a ! -p /dev/stdin ]; then
1313
# clear on error so we don't later try to restore them
1414
if [[ ! $? ]]; then
1515
saved_stty=""
16+
isterminal=0
1617
fi
1718
else
1819
isterminal=0

0 commit comments

Comments
 (0)