summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Hillman <mhillman@bomgar.com>2015-11-09 10:04:39 -0600
committerMatthew Hillman <mhillman@bomgar.com>2015-11-09 10:04:39 -0600
commit22144d3c227adba425f822700dc2559301ebdeb2 (patch)
tree57f4621afb42fc51b3bfac1f761a5e5d1597d707
parent8b1ffb6f7fb99865a9aadc9afbe9acb6977c5b3c (diff)
downloadgit-sonar-22144d3c227adba425f822700dc2559301ebdeb2.tar.gz
git-sonar-22144d3c227adba425f822700dc2559301ebdeb2.zip
Surround all variables on stash_status()’s return line with {} for clarity
-rwxr-xr-xradar-base.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/radar-base.sh b/radar-base.sh
index f45669e..f4bbc13 100755
--- a/radar-base.sh
+++ b/radar-base.sh
@@ -539,7 +539,7 @@ stashed_status() {
stash_status() {
local number_stashes="$(stashed_status)"
if [ $number_stashes -gt 0 ]; then
- printf $PRINT_F_OPTION "$number_stashes${COLOR_STASH}≡$RESET_COLOR_STASH"
+ printf $PRINT_F_OPTION "${number_stashes}${COLOR_STASH}≡${RESET_COLOR_STASH}"
fi
}