mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
Return correct result from koreader.sh
This commit is contained in:
@@ -115,6 +115,7 @@ fi
|
||||
cat crash.log 2> /dev/null | tail -c 100000000 > crash.log.new
|
||||
mv -f crash.log.new crash.log
|
||||
./reader.lua "${args}" >> crash.log 2>&1
|
||||
RESULT=$?
|
||||
|
||||
if [ "${FROM_NICKEL}" = "true" ] ; then
|
||||
if [ "${FROM_KFMON}" != "true" ] ; then
|
||||
@@ -139,4 +140,4 @@ else
|
||||
fi
|
||||
fi
|
||||
|
||||
return 0
|
||||
return ${RESULT}
|
||||
|
||||
Reference in New Issue
Block a user