mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-06-26 00:12:05 +08:00
fix unkillable reboot logging on tici
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user