getColor() must always print result

This was causing colors specified as numbers to not be shown.
This commit is contained in:
Christian Höltje 2018-01-19 22:06:01 -05:00
parent fabc473381
commit 87988cea26

View File

@ -40,8 +40,8 @@ function getColor() {
# color not found, so try to get the code # color not found, so try to get the code
1=$(getColorCode $1) 1=$(getColorCode $1)
fi fi
echo -n "$1"
fi fi
echo -n "$1"
} }
# empty paramenter resets (stops) background color # empty paramenter resets (stops) background color