Skip to content

Commit

Permalink
Fix typo in zen_workaround.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Zentrik authored and rocallahan committed Apr 18, 2024
1 parent ab68622 commit 858a036
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/zen_workaround.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def is_secure_boot_enabled():
def read_msr(cpu):
try:
msr = os.open('/dev/cpu/{}/msr'.format(cpu), os.O_RDONLY)
except PermissionError:
except PermissionError as e:
sys.stderr.write(str(e) + '\n')
print("Permission denied opening MSR for reading.")
print("Try running as root / with sudo.")
Expand Down

0 comments on commit 858a036

Please sign in to comment.