Fix boot-verify-sign

This commit is contained in:
Captain ALM 2024-05-30 01:50:51 +01:00
parent e384f07a18
commit 1981d4b09c
Signed by: alfred
GPG Key ID: 4E4ADD02609997B1
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
#!/bin/bash
/bin/bash /usr/local/sbin/verify-boot;
if [ $? != 0 ]; then
if [ $? -ne 0 ]; then
echo "Bad" > /opt/boot-verify-state;
/bin/bash /usr/local/sbin/sign-boot;
echo "Good" > /opt/boot-verify-state;