Fixing a quoting issue

This commit is contained in:
Tyler Akins 2015-12-21 09:02:42 -06:00
parent 67e22388da
commit 4e0c6894b4

2
mo
View File

@ -327,7 +327,7 @@ moIsFunction() {
functionList=$(declare -F)
functionList=( ${functionList//declare -f /} )
for functionName in ${functionList[@]}; do
for functionName in "${functionList[@]}"; do
if [[ "$functionName" == "$1" ]]; then
return 0
fi