]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
Fixed issue #420
authorSullivan (CTR), Austin <austin.sullivan.ctr@progeny.net>
Wed, 27 Jun 2018 14:33:09 +0000 (10:33 -0400)
committerHarald Hoyer <harald@hoyer.xyz>
Mon, 2 Jul 2018 10:42:32 +0000 (12:42 +0200)
modules.d/98integrity/evm-enable.sh

index 4f73b88556571b57a354338a00dda5231e34965a..39e13f040e7043a8e919926b1812c2a2108aed93 100755 (executable)
@@ -76,8 +76,8 @@ load_evm_x509()
         return 1
     fi
 
-    local evm_pubid
-    local line=$(keyctl describe %keyring:.evm)
+    local evm_pubid line
+    line=$(keyctl describe %keyring:.evm)
     if [ $? -eq 0 ]; then
         # the kernel already setup a trusted .evm keyring so use that one
         evm_pubid=${line%%:*}