pandora-scripts: fix stupid little bug in op_menu
[openpandora.oe.git] / recipes / pandora-system / pandora-scripts / op_menu.sh
index b7c2dba..43e3c41 100644 (file)
@@ -24,8 +24,8 @@ if [ "$1" -ge "2" ]; then #button was pressed 3 sec or longer, show list of apps
   fb_users=`lsof -t /dev/fb1 /dev/pvrsrvkm`
   if [ -n "$fb_users" ]; then
     do_kill $fb_users
+    exit 1
   fi
-  exit 1
 fi
 
 xpid=$(pidof xfce4-session)