Merge pull request #777 from gidcs/fix-bug-of-if-statement

fix missing space bug on if statement
This commit is contained in:
neil 2017-04-08 14:54:00 +08:00 committed by GitHub
commit 0933929cfe
1 changed files with 1 additions and 1 deletions

View File

@ -2565,7 +2565,7 @@ _checkConf() {
if [ ! -f "$2" ] && ! echo "$2" | grep '*$' >/dev/null && echo "$2" | grep '*' >/dev/null; then
_debug "wildcard"
for _w_f in $2; do
if [ -f "$_w_f"] && _checkConf "$1" "$_w_f"; then
if [ -f "$_w_f" ] && _checkConf "$1" "$_w_f"; then
return 0
fi
done