Open log after HW diags

This commit is contained in:
2Shirt 2017-12-27 12:58:58 -07:00
parent 346b9f492c
commit 18ce079aa3
2 changed files with 11 additions and 0 deletions

View file

@ -390,6 +390,15 @@ def run_tests(tests):
# Show results
show_results()
# Open log
if not TESTS['NVMe/SMART']['Quick']:
try:
popen_program(['nohup', 'leafpad', global_vars['LogFile']])
except Exception:
print_error('ERROR: Failed to open log: {}'.format(
global_vars['LogFile']))
pause('Press Enter to exit...')
def scan_disks():
clear_screen()
@ -537,6 +546,7 @@ def show_disk_details(dev):
def show_results():
clear_screen()
print_log('\n───────────────────────────')
print_standard('Hardware Diagnostic Results')
update_progress()

View file

@ -32,6 +32,7 @@ i3lock-fancy-git
i3status
inxi
ldns
leafpad
libewf
libinput
linux-firmware