typo: none 0 is incorrect grammar

This commit is contained in:
Dylan M. Taylor 2021-04-29 08:58:30 -04:00 committed by GitHub
parent a739326be4
commit d6ec206d3e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ def cpuVendor()-> Optional[str]:
def isVM() -> bool:
try:
subprocess.check_call(["systemd-detect-virt"]) # systemd-detect-virt issues a none 0 exit code if it is not on a virtual machine
subprocess.check_call(["systemd-detect-virt"]) # systemd-detect-virt issues a non-zero exit code if it is not on a virtual machine
return True
except:
return False