Merge pull request #517 from hannesweisbach/fix-mokutil

Change invocation of mokutil to return 0 on success
This commit is contained in:
Steve Zabka
2025-02-05 08:45:04 +01:00
committed by GitHub

View File

@@ -143,7 +143,7 @@ check_required_packages() {
;;
mokutil)
if ! mokutil &>/dev/null; then
if ! mokutil --list-enrolled &>/dev/null; then
echo -e "${RED}The required command (${cmd}) is not available!${NOCOLOR}"
MISSING_COMMANDS+=("$cmd")
else