Skip to content

Commit

Permalink
pretty_print: Fix terminal detection
Browse files Browse the repository at this point in the history
  • Loading branch information
gtjoseph authored and asterisk-org-access-app[bot] committed Feb 6, 2025
1 parent 4d6b206 commit 86915dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/scripts/pretty_print
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ for a in "$@" ; do
esac
done

tput longname 2&>/dev/null
tput longname &>/dev/null
noterm=$?

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

0 comments on commit 86915dc

Please sign in to comment.