mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
keep only one instance of reader.lua
in case the reader crashed without cleaning up the forked subprocess lipc-wait-event
This commit is contained in:
@@ -35,6 +35,9 @@ fi
|
||||
# stop cvm
|
||||
#killall -stop cvm
|
||||
|
||||
# keep only one instance of reader
|
||||
killall reader.lua
|
||||
|
||||
# finally call reader
|
||||
./reader.lua "$1" 2> crash.log
|
||||
|
||||
|
||||
Reference in New Issue
Block a user