Fix get_coredumpctl_traces.py
This commit is contained in:
parent
d279f4af89
commit
6019e090a1
@ -77,7 +77,11 @@ def get_info(pid):
|
||||
for line in output.split('\n'):
|
||||
if not line.strip():
|
||||
continue
|
||||
key, value = line.split(':', maxsplit=1)
|
||||
try:
|
||||
key, value = line.split(':', maxsplit=1)
|
||||
except ValueError:
|
||||
# systemd stack output
|
||||
continue
|
||||
data[key.strip()] = value.strip()
|
||||
return data
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user