From 42455a9424cf3317aaf4f804493ae338b2b926f1 Mon Sep 17 00:00:00 2001 From: Hans-Joachim Kliemeck Date: Sun, 16 Dec 2018 15:09:25 +0100 Subject: [PATCH] different return value --- spectre-meltdown-checker.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spectre-meltdown-checker.sh b/spectre-meltdown-checker.sh index b38f897..24325b2 100755 --- a/spectre-meltdown-checker.sh +++ b/spectre-meltdown-checker.sh @@ -3343,8 +3343,8 @@ check_CVE_2017_5754_linux() # Test if the current host is a Xen PV Dom0 / DomU - xen_pv_domo=$((is_xen_dom0)) - xen_pv_domu=$((is_xen_domU)) + is_xen_dom0 && xen_pv_domo=1 + is_xen_domU && xen_pv_domu=1 if [ "$opt_live" = 1 ]; then # checking whether we're running under Xen PV 64 bits. If yes, we are affected by variant3