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:
@ -116,6 +116,9 @@ def process(proc_data):
|
|||||||
if 'tty' in entry and entry['tty'] == '~':
|
if 'tty' in entry and entry['tty'] == '~':
|
||||||
entry['tty'] = None
|
entry['tty'] = None
|
||||||
|
|
||||||
|
if 'tty' in entry and entry['tty'] == 'system_boot':
|
||||||
|
entry['tty'] = 'system boot'
|
||||||
|
|
||||||
if 'hostname' in entry and entry['hostname'] == '-':
|
if 'hostname' in entry and entry['hostname'] == '-':
|
||||||
entry['hostname'] = None
|
entry['hostname'] = None
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user