Also got rid of redundant calls to exit.
---
 pm/sleep.d/49bluetooth |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/pm/sleep.d/49bluetooth b/pm/sleep.d/49bluetooth
index 0c72b8f..5fcb04c 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 $NA
 
 suspend_bluetooth()
 {
@@ -29,8 +29,6 @@ case "$1" in
        thaw|resume)
                resume_bluetooth
                ;;
-       *)
+       *) exit $NA
                ;;
 esac
-
-exit $?
-- 
1.5.3.8

_______________________________________________
Pm-utils mailing list
Pm-utils@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/pm-utils

Reply via email to