Browse Source

term-functions: fixed echo_info() to not break pipe when the app is in quiet mode

karasz/new-early
Alejandro Mery 17 years ago
parent
commit
4aeef8d99c
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      lib/term-functions.in

+ 2
- 0
lib/term-functions.in

@ -54,6 +54,8 @@ echo_info() {
$ECHO_E "${COLOR_INFO}->${COLOR_NORMAL} $text"
done >&2
fi
elif [ $# -eq 0 ]; then
cat > /dev/null
fi
}

Loading…
Cancel
Save