1
0
mirror of https://github.com/kellyjonbrazil/jc.git synced 2025-06-19 00:17:51 +02:00

fix system_boot tty

This commit is contained in:
Kelly Brazil
2020-02-27 15:58:12 -08:00
parent 5c2d2a6618
commit c1d896027d

View File

@ -116,6 +116,9 @@ def process(proc_data):
if 'tty' in entry and entry['tty'] == '~':
entry['tty'] = None
if 'tty' in entry and entry['tty'] == 'system_boot':
entry['tty'] = 'system boot'
if 'hostname' in entry and entry['hostname'] == '-':
entry['hostname'] = None