mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[fix] metldown script can now returns 2/3 return code
This commit is contained in:
parent
118b6fe51e
commit
7ea53f2ff7
1 changed files with 1 additions and 1 deletions
|
@ -666,7 +666,7 @@ def _check_if_vulnerable_to_meltdown():
|
||||||
stderr=subprocess.STDOUT)
|
stderr=subprocess.STDOUT)
|
||||||
|
|
||||||
output, _ = call.communicate()
|
output, _ = call.communicate()
|
||||||
assert call.returncode == 0
|
assert call.returncode in (0, 2, 3), "Return code: %s" % call.returncode
|
||||||
|
|
||||||
CVEs = json.loads(output)
|
CVEs = json.loads(output)
|
||||||
assert len(CVEs) == 1
|
assert len(CVEs) == 1
|
||||||
|
|
Loading…
Add table
Reference in a new issue