Commit 5d90f33f authored by Natanael Copa's avatar Natanael Copa

libalpine: make vecho and qecho return success

vecho should return success even if $VERBOSE is empty. Similar, qecho
should return success even if $QUIET is empty.

fixes !4
parent ad999681
......@@ -26,12 +26,16 @@ echon () {
# echo if in verbose mode
vecho() {
[ -n "$VERBOSE" ] && echo "$@"
if [ -n "$VERBOSE" ]; then
echo "$@"
fi
}
# echo unless quiet mode
qecho() {
[ -z "$QUIET" ] && echo "$@"
if [ -z "$QUIET" ]; then
echo "$@"
fi
}
# echo to stderr
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment