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