mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 21:26:49 +00:00
Merge pull request #2793 from mglae/master_kodi_exit
kodi.sh: return zero on succesful exit
This commit is contained in:
commit
b25bbcae2b
@ -157,4 +157,7 @@ if [ $(( ($RET >= 131 && $RET <= 136) || $RET == 139 )) = "1" ] ; then
|
|||||||
detect_crash_loop && activate_safe_mode
|
detect_crash_loop && activate_safe_mode
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Filter Kodi powerdown/restartapp/reboot codes to satisfy systemd
|
||||||
|
[ "$RET" -ge 64 -a "$RET" -le 66 ] && RET=0
|
||||||
|
|
||||||
exit $RET
|
exit $RET
|
||||||
|
Loading…
x
Reference in New Issue
Block a user