diff options
author | Kurt J. Bosch <kjb-temp-2009@alpenjodel.de> | 2011-07-12 09:48:40 +0200 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2011-07-17 21:38:00 +0200 |
commit | 66dd870039a49348516fc68a7e515f370f6a4702 (patch) | |
tree | 3eb3cc6d1e2db5c9a7fe3382eb7c39b5deb8a7d7 /functions | |
parent | 8a8163bf69ac0966e7a8b6eec49196e2d366b7a6 (diff) | |
download | initscripts-66dd870039a49348516fc68a7e515f370f6a4702.tar.xz |
functions: Remove useless '$' within '(( ))'
Diffstat (limited to 'functions')
-rw-r--r-- | functions | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 } |