From bf5979f0b2e04ad76c41085f79b519ffa207b1bd Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Fri, 3 Jan 2025 16:00:11 +0000 Subject: [PATCH] lib.sh: Fix unescaped quotes in chkvars() This should be the proper fix now Signed-off-by: Leah Rowe --- include/lib.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/lib.sh b/include/lib.sh index 2b63079..857857d 100644 --- a/include/lib.sh +++ b/include/lib.sh @@ -40,7 +40,7 @@ setvars() chkvars() { for var in "$@"; do - eval "[ -n "\${$var+x}" ] || \$err \"$var unset\"" + eval "[ -n \"\${$var+x}\" ] || \$err \"$var unset\"" eval "[ -n \"\$$var\" ] || \$err \"$var unset\"" done; return 0 }