summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scripts/vyos-show-version2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/vyos-show-version b/scripts/vyos-show-version
index a701b84..c0609ca 100644
--- a/scripts/vyos-show-version
+++ b/scripts/vyos-show-version
@@ -73,7 +73,7 @@ system_type = "physical"
try:
hypervisor = subprocess.check_output('hvinfo', shell=True).strip()
system_type = "{0} guest".format(hypervisor)
-except CalledProcessError:
+except subprocess.CalledProcessError:
# hvinfo returns 1 if it cannot detect any hypervisor
pass
version_data['system_type'] = system_type