[Pm-utils] [PATCH 08/17] Modify 49bluetooth to exit $NA where applicable.
Victor Lowther
victor.lowther at gmail.com
Sat Feb 16 12:30:07 PST 2008
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
More information about the Pm-utils
mailing list