Merge pull request #2793 from mglae/master_kodi_exit

kodi.sh: return zero on succesful exit
This commit is contained in:
MilhouseVH 2018-06-26 00:17:11 +01:00 committed by GitHub
commit b25bbcae2b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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