fix unkillable reboot logging on tici

This commit is contained in:
Adeeb Shihadeh
2020-12-17 17:52:41 -08:00
parent 717e49019f
commit 6a0e9044c1
+2 -1
View File
@@ -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: