Same pkill trick as the Kobo scripts

Only here to satisfy my OCD ;p
pull/1504/head
NiLuJe 9 years ago
parent 6f815e2bdf
commit a736a571d2

@ -208,7 +208,7 @@ fi
./reader.lua "$@" 2> crash.log
# 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
if pkill -0 reader.lua ; then
logmsg "Sending a SIGTERM to stray KOreader processes . . ."
killall -TERM reader.lua
fi

Loading…
Cancel
Save