diff --git a/platform/kobo/koreader.sh b/platform/kobo/koreader.sh index 733db0d79..91539f97a 100755 --- a/platform/kobo/koreader.sh +++ b/platform/kobo/koreader.sh @@ -89,7 +89,7 @@ else # if we were called from advboot then we must reboot to go to the menu # NOTE: This is actually achieved by checking if KSM is running: # This might lead to false-positives if you use neither KSM nor advboot to launch KOReader *without nickel running*. - if ! pkill -0 ksmhome.sh ; then + if ! pidof ksmhome.sh > /dev/null 2>&1 ; then reboot fi fi