summaryrefslogtreecommitdiff
path: root/macros
diff options
context:
space:
mode:
Diffstat (limited to 'macros')
-rw-r--r--macros/mate-autogen2
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