It was a debug print indeed :D

This commit is contained in:
Alexandre Aubin 2019-02-19 18:05:09 +01:00
parent ddf2b49d54
commit b2a606987c

View file

@ -724,7 +724,6 @@ def _check_if_vulnerable_to_meltdown():
# (e.g. from yunohost) # (e.g. from yunohost)
cache_file = "/tmp/yunohost-meltdown-diagnosis" cache_file = "/tmp/yunohost-meltdown-diagnosis"
dpkg_log = "/var/log/dpkg.log" dpkg_log = "/var/log/dpkg.log"
print(os.path.exists(cache_file))
if os.path.exists(cache_file): if os.path.exists(cache_file):
if not os.path.exists(dpkg_log) or os.path.getmtime(cache_file) > os.path.getmtime(dpkg_log): if not os.path.exists(dpkg_log) or os.path.getmtime(cache_file) > os.path.getmtime(dpkg_log):
logger.debug("Using cached results for meltdown checker, from %s" % cache_file) logger.debug("Using cached results for meltdown checker, from %s" % cache_file)