Skip to content

Commit 86915dc

Browse files
pretty_print: Fix terminal detection
1 parent 4d6b206 commit 86915dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contrib/scripts/pretty_print

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ for a in "$@" ; do
5353
esac
5454
done
5555

56-
tput longname 2&>/dev/null
56+
tput longname &>/dev/null
5757
noterm=$?
5858

5959
if [ $noterm -ne 0 -o x"$TERM" = x -o "$TERM" = "unknown" ] ; then

0 commit comments

Comments
 (0)