Fix check_4k_alignment()

Addresses #215
This commit is contained in:
2Shirt 2023-04-01 22:16:38 -07:00
parent 9f66b151af
commit 9228137187
Signed by: 2Shirt
GPG key ID: 152FAC923B0E132C

View file

@ -181,7 +181,7 @@ def check_4k_alignment(show_alert=False):
if not match:
LOG.error('Failed to parse partition info for: %s', line)
continue
if int(match.group('offset')) % 4096 == 0:
if int(match.group('offset')) % 4096 != 0:
report.append(
color_string(
f'{match.group("description")}'