kodi.sh: return zero on succesful exit

This commit is contained in:
mglae 2018-06-23 14:22:58 +02:00
parent 7ce6b81da7
commit 97338e3757

View File

@ -157,4 +157,7 @@ if [ $(( ($RET >= 131 && $RET <= 136) || $RET == 139 )) = "1" ] ; then
detect_crash_loop && activate_safe_mode
fi
# Filter Kodi powerdown/restartapp/reboot codes to satisfy systemd
[ "$RET" -ge 64 -a "$RET" -le 66 ] && RET=0
exit $RET