summaryrefslogtreecommitdiff
path: root/tool
diff options
context:
space:
mode:
Diffstat (limited to 'tool')
-rwxr-xr-xtool/ifchange2
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/ifchange b/tool/ifchange
index 6a1923c167..837dd4dd16 100755
--- a/tool/ifchange
+++ b/tool/ifchange
@@ -38,7 +38,7 @@ if [ "$temp" = - ]; then
fi
msg_begin= msg_unchanged= msg_updated= msg_reset=
-if [ -t ]; then
+if [ -t 1 ]; then
msg_begin="`tput smso 2>/dev/null`"
case "$msg_begin" in
""*m)