Merge pull request #394 from dylanmtaylor/patch-2
typo: none 0 is incorrect grammar
This commit is contained in:
commit
7c57fff8b2
|
|
@ -65,7 +65,7 @@ def cpuVendor()-> Optional[str]:
|
||||||
|
|
||||||
def isVM() -> bool:
|
def isVM() -> bool:
|
||||||
try:
|
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
|
return True
|
||||||
except:
|
except:
|
||||||
return False
|
return False
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue