mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-25 15:45:38 +00:00
return es error code
This commit is contained in:
parent
56971d54a5
commit
d6b726cc34
|
@ -4,6 +4,7 @@ esdir="$(dirname $0)"
|
||||||
while true; do
|
while true; do
|
||||||
rm -f /tmp/es-restart /tmp/es-sysrestart /tmp/es-shutdown
|
rm -f /tmp/es-restart /tmp/es-sysrestart /tmp/es-shutdown
|
||||||
"$esdir/emulationstation" "$@"
|
"$esdir/emulationstation" "$@"
|
||||||
|
ret=$?
|
||||||
[ -f /tmp/es-restart ] && continue
|
[ -f /tmp/es-restart ] && continue
|
||||||
if [ -f /tmp/es-sysrestart ]; then
|
if [ -f /tmp/es-sysrestart ]; then
|
||||||
rm -f /tmp/es-sysrestart
|
rm -f /tmp/es-sysrestart
|
||||||
|
@ -17,3 +18,4 @@ while true; do
|
||||||
fi
|
fi
|
||||||
break
|
break
|
||||||
done
|
done
|
||||||
|
exit $ret
|
||||||
|
|
Loading…
Reference in a new issue