initramfs-framework-ima: let ima_enabled return 0

Otherwise, ima script would not run as intended.

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
Ming Liu
2021-02-20 13:18:21 +01:00
committed by Armin Kuster
parent 4dc646c8ce
commit ffab25f929

View File

@@ -6,6 +6,7 @@ ima_enabled() {
if [ "$bootparam_no_ima" = "true" ]; then
return 1
fi
return 0
}
ima_run() {