From 71e1c61f8a910a43c9723718b6fc4467d9778f1e Mon Sep 17 00:00:00 2001 From: Alex Gonzalez Date: Thu, 19 Nov 2015 16:08:34 +0100 Subject: [PATCH] busybox: pswitch-release: Fix incorrect return value. For Busybox's ash, -1 is an Invalid Number. Signed-off-by: Alex Gonzalez --- .../recipes-core/busybox/busybox-1.23.2/pswitch-release | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-digi-dey/recipes-core/busybox/busybox-1.23.2/pswitch-release b/meta-digi-dey/recipes-core/busybox/busybox-1.23.2/pswitch-release index b6db85dac..b39823a19 100644 --- a/meta-digi-dey/recipes-core/busybox/busybox-1.23.2/pswitch-release +++ b/meta-digi-dey/recipes-core/busybox/busybox-1.23.2/pswitch-release @@ -4,7 +4,7 @@ POWEROFF_DELAY=2 if [ ! -f /tmp/pswitch_press ]; then logger -t acpid "No press event." - exit -1 + exit 1 fi while read line