fix unkillable reboot logging on tici

pull/19526/head
Adeeb Shihadeh 4 years ago
parent 717e49019f
commit 6a0e9044c1
  1. 3
      selfdrive/manager.py

@ -353,7 +353,8 @@ def kill_managed_process(name):
join_process(running[name], 15)
if running[name].exitcode is None:
cloudlog.critical("unkillable process %s failed to die!" % name)
os.system("date >> /sdcard/unkillable_reboot")
os.system("date >> /data/unkillable_reboot")
os.sync()
HARDWARE.reboot()
raise RuntimeError
else:

Loading…
Cancel
Save