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 fdf30fd..8c0d3a2 100644
--- a/functions
+++ b/functions
@@ -39,7 +39,7 @@ calc_columns () {
if [[ -t 1 ]]; then
SAVE_POSITION="\e[s"
RESTORE_POSITION="\e[u"
- DEL_TEXT="\e[$(($STAT_COL+4))G"
+ DEL_TEXT="\e[$((STAT_COL+4))G"
else
SAVE_POSITION=""
RESTORE_POSITION=""
@@ -158,7 +158,7 @@ status() {
shift
"$@" &>/dev/null
local ret=$?
- (( $ret == 0 )) && stat_done || stat_fail
+ (( ret == 0 )) && stat_done || stat_fail
return $ret
}