fix stupid function return mistake

This commit is contained in:
Asif Bacchus 2019-11-18 05:00:39 -07:00
parent 096aecfeec
commit f9d620cf08

View File

@ -5,8 +5,7 @@
#
convertCase () {
lc=$( echo "$1" | tr "[:lower:]" "[:upper:]")
return "$lc"
printf "%s" "$1" | tr "[:lower:]" "[:upper:]"
}
# convert environment variables to UPPERCASE for proper string comparison