diff options
Diffstat (limited to 'macros/mate-autogen')
-rw-r--r-- | macros/mate-autogen | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/macros/mate-autogen b/macros/mate-autogen index cda8d3a..1874ac6 100644 --- a/macros/mate-autogen +++ b/macros/mate-autogen @@ -51,7 +51,7 @@ case `echo -n x` in esac # some terminal codes ... -if tty < /dev/null 1>/dev/null 2>&1; then +if tty <&1 >/dev/null 2>&1; then boldface="`tput bold 2>/dev/null`" normal="`tput sgr0 2>/dev/null`" else |