busybox: pswitch-release: Fix incorrect return value.
For Busybox's ash, -1 is an Invalid Number. Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
This commit is contained in:
parent
f9884afc12
commit
71e1c61f8a
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue