fix unkillable reboot logging on tici

old-commit-hash: 6a0e9044c1
commatwo_master
Adeeb Shihadeh 5 years ago
parent 9a18d887dc
commit ba7036a9f9
  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