From e8121bfddda34e20db889a74d4ac6259ed182aea Mon Sep 17 00:00:00 2001 From: Antonio Alvarez Feijoo Date: Tue, 14 Dec 2021 12:15:41 +0100 Subject: [PATCH] fix(fips): add and remove local variables --- modules.d/01fips/fips.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/modules.d/01fips/fips.sh b/modules.d/01fips/fips.sh index 48820d726..26f654143 100755 --- a/modules.d/01fips/fips.sh +++ b/modules.d/01fips/fips.sh @@ -79,6 +79,7 @@ nonfatal_modprobe() { fips_load_crypto() { local _k local _v + local _module local _found FIPSMODULES=$(cat /etc/fipsmodules) @@ -108,9 +109,6 @@ fips_load_crypto() { } do_fips() { - local _v - local _module - KERNEL=$(uname -r) if ! getarg rd.fips.skipkernel > /dev/null; then -- 2.47.3