mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[fix] we need absolute path for meltdown check
This commit is contained in:
parent
177914ee00
commit
54c9b8be10
1 changed files with 2 additions and 1 deletions
|
@ -657,7 +657,8 @@ def _check_if_vulnerable_to_meltdown():
|
|||
|
||||
# script taken from https://github.com/speed47/spectre-meltdown-checker
|
||||
# script commit id is store directly in the script
|
||||
SCRIPT_PATH = "./vendor/spectre-meltdown-checker/spectre-meltdown-checker.sh"
|
||||
file_dir = os.path.split(__file__)[0]
|
||||
SCRIPT_PATH = os.path.join(file_dir, "./vendor/spectre-meltdown-checker/spectre-meltdown-checker.sh")
|
||||
|
||||
# '--variant 3' corresponds to Meltdown
|
||||
# example output from the script:
|
||||
|
|
Loading…
Add table
Reference in a new issue