mirror of
https://github.com/koreader/koreader
synced 2024-10-31 21:20:20 +00:00
Merge pull request #152 from chrox/master
keep only one instance of reader.lua
This commit is contained in:
commit
30d3db5ccc
@ -38,6 +38,9 @@ fi
|
|||||||
# finally call reader
|
# finally call reader
|
||||||
./reader.lua "$1" 2> crash.log
|
./reader.lua "$1" 2> crash.log
|
||||||
|
|
||||||
|
# clean up forked process in case the reader crashed
|
||||||
|
killall reader.lua
|
||||||
|
|
||||||
# unmount system fonts
|
# unmount system fonts
|
||||||
if grep /mnt/us/koreader/fonts/host /proc/mounts; then
|
if grep /mnt/us/koreader/fonts/host /proc/mounts; then
|
||||||
umount /mnt/us/koreader/fonts/host
|
umount /mnt/us/koreader/fonts/host
|
||||||
|
Loading…
Reference in New Issue
Block a user