From 13a9a4bdc27b4210db649494c7996d90fd0573ec Mon Sep 17 00:00:00 2001 From: Chris Denneen Date: Tue, 19 Dec 2023 11:27:21 -0500 Subject: [PATCH] Update tasks/precheck.sh Modify quoting Co-authored-by: Tim Meusel --- tasks/precheck.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/precheck.sh b/tasks/precheck.sh index b1e24784..7208213c 100755 --- a/tasks/precheck.sh +++ b/tasks/precheck.sh @@ -11,7 +11,7 @@ elif grep -qi redhat /etc/os-release && [[ "$(cat /proc/sys/crypto/fips_enabled) osfamily="redhatfips" else osfamily="el" - if grep -qi amazon /etc/os-release && grep -qi "VERSION_ID=\"2\"" /etc/os-release; then + if grep -qi amazon /etc/os-release && grep -qi 'VERSION_ID="2"' /etc/os-release; then version=7 fi fi