Merge pull request #394 from dylanmtaylor/patch-2

typo: none 0 is incorrect grammar
This commit is contained in:
Anton Hvornum 2021-04-29 23:00:49 +00:00 committed by GitHub
commit 7c57fff8b2
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