fix unkillable reboot logging on tici

old-commit-hash: 6a0e9044c1cd4844ee83f3ba4da1ea0469f2949c
This commit is contained in:
Adeeb Shihadeh
2020-12-17 17:52:41 -08:00
parent 9a18d887dc
commit ba7036a9f9
+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: