aboutsummaryrefslogtreecommitdiff
path: root/functions
diff options
context:
space:
mode:
authorKurt J. Bosch <kjb-temp-2009@alpenjodel.de>2011-07-12 09:48:40 +0200
committerTom Gundersen <teg@jklm.no>2011-07-17 21:38:00 +0200
commit66dd870039a49348516fc68a7e515f370f6a4702 (patch)
tree3eb3cc6d1e2db5c9a7fe3382eb7c39b5deb8a7d7 /functions
parent8a8163bf69ac0966e7a8b6eec49196e2d366b7a6 (diff)
downloadinitscripts-66dd870039a49348516fc68a7e515f370f6a4702.tar.xz
functions: Remove useless '$' within '(( ))'
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
}