mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
xbmc-dharma: log last exitcode for debugging
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
8ba192a7d0
commit
dc274601f3
@ -46,6 +46,7 @@ progress "starting XBMC"
|
|||||||
DISPLAY=:0.0 xbmc $XBMC_ARGS > /dev/null 2>&1
|
DISPLAY=:0.0 xbmc $XBMC_ARGS > /dev/null 2>&1
|
||||||
RET=$?
|
RET=$?
|
||||||
echo "Exited with code $RET"
|
echo "Exited with code $RET"
|
||||||
|
echo "Last XBMC Exitcode: $RET" >> $HOME/.xbmc/temp/last_exit.log
|
||||||
|
|
||||||
[ "$RET" == 0 ] && sync && poweroff
|
[ "$RET" == 0 ] && sync && poweroff
|
||||||
[ "$RET" == 64 ] && sync && poweroff
|
[ "$RET" == 64 ] && sync && poweroff
|
||||||
|
Loading…
x
Reference in New Issue
Block a user