pandora-scripts: fix stupid little bug in op_menu
authorGrazvydas Ignotas <notasas@gmail.com>
Sun, 3 Nov 2013 00:54:18 +0000 (02:54 +0200)
committerGrazvydas Ignotas <notasas@gmail.com>
Sun, 3 Nov 2013 00:54:18 +0000 (02:54 +0200)
recipes/pandora-system/pandora-scripts.bb
recipes/pandora-system/pandora-scripts/op_menu.sh

index 05967e8..aa2929f 100644 (file)
@@ -5,7 +5,7 @@ COMPATIBLE_MACHINE = "omap3-pandora"
 
 RDEPENDS = "bash sed gawk grep zenity"
 
-PR = "r151"
+PR = "r152"
 
 SRC_URI = " \
           file://op_paths.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)