summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xinclude/lib.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/lib.sh b/include/lib.sh
index 58aa8d46..e6a998d2 100755
--- a/include/lib.sh
+++ b/include/lib.sh
@@ -33,6 +33,7 @@ chkvars()
{
for var in $@; do
eval "[ -n "\${$var+x}" ] || \$err \"$var unset\""
+ eval "[ -n "\$$var" ] || \$err \"$var unset\""
done; return 0
}