diff --git a/include/lib.sh b/include/lib.sh index 8886cfc..2b63079 100644 --- a/include/lib.sh +++ b/include/lib.sh @@ -41,7 +41,7 @@ chkvars() { for var in "$@"; do eval "[ -n "\${$var+x}" ] || \$err \"$var unset\"" - eval "[ -n "\$$var" ] || \$err \"$var unset\"" + eval "[ -n \"\$$var\" ] || \$err \"$var unset\"" done; return 0 }