aboutsummaryrefslogtreecommitdiff
path: root/functions
diff options
context:
space:
mode:
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