summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBo Ørsted Andresen <bo.andresen@zlin.dk>2007-04-09 10:36:36 +0000
committerBo Ørsted Andresen <bo.andresen@zlin.dk>2007-04-09 10:36:36 +0000
commit6ca86e5bee365d3fa79b9a1ed53fff30d78b3450 (patch)
tree5815f239ce0e10b20baf76d6a91d43edcc472aad
parent04335d0eea3c436680470d4696238f677c52ed37 (diff)
downloadwgetpaste-6ca86e5bee365d3fa79b9a1ed53fff30d78b3450.tar.gz
Fix detection of ${VERBOSE}.
-rwxr-xr-xwgetpaste2
1 files changed, 1 insertions, 1 deletions
diff --git a/wgetpaste b/wgetpaste
index 893f5e4..6d6686c 100755
--- a/wgetpaste
+++ b/wgetpaste
@@ -150,7 +150,7 @@ show_services() {
[[ ${#arg} -gt ${max} ]] && max=${#arg}
done
((IND=6+${max}))
- if ${VERBOSE}; then
+ if [[ ${VERBOSE} ]]; then
max=0
for s in "${SERVICES[@]}"; do
arg=$(eval "echo \${${s}[1]}")