mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-31 14:37:59 +00:00
kodi: fix kodi.sh typo
This commit is contained in:
parent
544f25dffd
commit
0eb317550c
@ -58,7 +58,7 @@ detect_crash_loop()
|
||||
echo "$NOW_TIME" >> $CRASH_HIST
|
||||
|
||||
NUM_RESTARTS=$(wc -l $CRASH_HIST | cut -d' ' -f1)
|
||||
FIRST_RESTART_TIME=$(tail -n $MAX_RESTARTS $CRASH_HIST | head -n 1)
|
||||
FIRST_RESTART_TIME=$(tail -n $KODI_MAX_RESTARTS $CRASH_HIST | head -n 1)
|
||||
|
||||
# kodi restart loop detected? fail this kodi install
|
||||
if [ $NUM_RESTARTS -ge $KODI_MAX_RESTARTS -a $KODI_MAX_SECONDS -ge $((NOW_TIME - FIRST_RESTART_TIME)) ]; then
|
||||
|
Loading…
x
Reference in New Issue
Block a user