2
0
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:
{Qingping,Dave} Hou 2013-07-11 21:20:28 -07:00
commit 30d3db5ccc

View File

@ -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