Open log after HW diags
This commit is contained in:
parent
346b9f492c
commit
18ce079aa3
2 changed files with 11 additions and 0 deletions
|
|
@ -390,6 +390,15 @@ def run_tests(tests):
|
||||||
# Show results
|
# Show results
|
||||||
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():
|
def scan_disks():
|
||||||
clear_screen()
|
clear_screen()
|
||||||
|
|
||||||
|
|
@ -537,6 +546,7 @@ def show_disk_details(dev):
|
||||||
|
|
||||||
def show_results():
|
def show_results():
|
||||||
clear_screen()
|
clear_screen()
|
||||||
|
print_log('\n───────────────────────────')
|
||||||
print_standard('Hardware Diagnostic Results')
|
print_standard('Hardware Diagnostic Results')
|
||||||
update_progress()
|
update_progress()
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -32,6 +32,7 @@ i3lock-fancy-git
|
||||||
i3status
|
i3status
|
||||||
inxi
|
inxi
|
||||||
ldns
|
ldns
|
||||||
|
leafpad
|
||||||
libewf
|
libewf
|
||||||
libinput
|
libinput
|
||||||
linux-firmware
|
linux-firmware
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue