mirror of
https://github.com/koreader/koreader.git
synced 2025-12-13 20:36:53 +01:00
minor: redirect all output to crash.log
This commit is contained in:
@@ -242,7 +242,7 @@ logmsg "Starting KOReader . . ."
|
||||
if [ "${FROM_KUAL}" == "yes" ] ; then
|
||||
eips_print_bottom_centered "Starting KOReader . . ." 1
|
||||
fi
|
||||
./reader.lua "$@" 2> crash.log
|
||||
./reader.lua "$@" > crash.log 2>&1
|
||||
|
||||
# clean up our own process tree in case the reader crashed (if needed, to avoid flooding KUAL's log)
|
||||
if pidof reader.lua > /dev/null 2>&1 ; then
|
||||
|
||||
@@ -86,7 +86,7 @@ if awk '$4~/(^|,)ro($|,)/' /proc/mounts | grep ' /mnt/sd ' ; then
|
||||
mount -o remount,rw /mnt/sd
|
||||
fi
|
||||
|
||||
./reader.lua "${args}" 2> crash.log
|
||||
./reader.lua "${args}" > crash.log 2>&1
|
||||
|
||||
if [ "${FROM_NICKEL}" == "true" ] ; then
|
||||
# start kobo software because it was running before koreader
|
||||
|
||||
@@ -33,7 +33,7 @@ else
|
||||
args="$@"
|
||||
fi
|
||||
|
||||
./reader.lua "$args" 2> crash.log
|
||||
./reader.lua "$args" > crash.log 2>&1
|
||||
|
||||
if pidof reader.lua > /dev/null 2>&1 ; then
|
||||
killall -TERM reader.lua
|
||||
|
||||
Reference in New Issue
Block a user