From 432a1a5bca71dfc1b5e5f97240b84545fbe6d1fd Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Fri, 3 Jan 2025 16:00:11 +0000 Subject: 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 2b630797..857857d2 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 } -- cgit v1.2.1