Respect ENABLE_OPEN_LOGS global variable

This commit is contained in:
2Shirt 2018-10-01 19:35:46 -06:00
parent 0d35d81b97
commit 7e78eb5dca
Signed by: 2Shirt
GPG key ID: 152FAC923B0E132C

View file

@ -1169,7 +1169,7 @@ def run_tests(tests, ticket_number=None):
show_results()
# Open log
if not TESTS['NVMe/SMART']['Quick']:
if not TESTS['NVMe/SMART']['Quick'] and ENABLED_OPEN_LOGS:
try:
popen_program(['nohup', 'leafpad', global_vars['LogFile']], pipe=True)
except Exception: