summaryrefslogtreecommitdiff
path: root/functions
diff options
context:
space:
mode:
authorKurt J. Bosch <kjb-temp-2009@alpenjodel.de>2011-06-24 10:56:31 +0200
committerKurt J. Bosch <kjb-temp-2009@alpenjodel.de>2011-06-24 13:52:59 +0200
commit171da3d79b0494af47e8c8c3815e8abec385b7d3 (patch)
tree7c1533a6ecf7424185d90bf2470c6a27f11760e5 /functions
parent7cd8819a634c8438efcd6861b6a234913ff8a8c6 (diff)
Some more cosmetics
Diffstat (limited to 'functions')
-rw-r--r--functions4
1 files changed, 2 insertions, 2 deletions
diff --git a/functions b/functions
index d57fe16..a29eb7f 100644
--- a/functions
+++ b/functions
@@ -32,7 +32,7 @@ calc_columns () {
fi
# we use 13 characters for our own stuff
- STAT_COL=$(( $STAT_COL - 13 ))
+ STAT_COL=$(( STAT_COL - 13 ))
if [[ -t 1 ]]; then
SAVE_POSITION="\e[s"
@@ -154,7 +154,7 @@ stat_die() {
status() {
stat_busy "$1"
shift
- if "$@" >/dev/null 2>&1; then
+ if "$@" &>/dev/null; then
stat_done
return 0
fi