[Pm-utils] [PATCH 09/17] Get rid of redundant exit in 49bluetooth.

Victor Lowther victor.lowther at gmail.com
Mon Feb 11 13:53:41 PST 2008


---
 pm/sleep.d/49bluetooth |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/pm/sleep.d/49bluetooth b/pm/sleep.d/49bluetooth
index 0c72b8f..eade440 100755
--- a/pm/sleep.d/49bluetooth
+++ b/pm/sleep.d/49bluetooth
@@ -2,7 +2,7 @@
 
 . "${PM_FUNCTIONS}"
 
-[ -f /proc/acpi/ibm/bluetooth ] || exit 1
+[ -f /proc/acpi/ibm/bluetooth ] || exit
 
 suspend_bluetooth()
 {
@@ -32,5 +32,3 @@ case "$1" in
 	*)
 		;;
 esac
-
-exit $?
-- 
1.5.3.8



More information about the Pm-utils mailing list