Skip to content

Commit

Permalink
Update tasks/precheck.sh
Browse files Browse the repository at this point in the history
Modify quoting

Co-authored-by: Tim Meusel <[email protected]>
  • Loading branch information
cdenneen and bastelfreak authored Dec 19, 2023
1 parent 56f3709 commit 13a9a4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/precheck.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 13a9a4b

Please sign in to comment.