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

View File

@@ -38,6 +38,9 @@ fi
# finally call reader
./reader.lua "$1" 2> crash.log
# clean up forked process in case the reader crashed
killall reader.lua
# unmount system fonts
if grep /mnt/us/koreader/fonts/host /proc/mounts; then
umount /mnt/us/koreader/fonts/host