---
 pm/module.d/tuxonice |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/pm/module.d/tuxonice b/pm/module.d/tuxonice
index 6bec50d..b1397d0 100644
--- a/pm/module.d/tuxonice
+++ b/pm/module.d/tuxonice
@@ -27,7 +27,7 @@ do_hibernate() {
 }
 
 check_suspend_hybrid() {
-       grep -q mem /sys/power/state || return 1
+       grep -q mem /sys/power/state && \
        [ -f "${TUXONICE_LOC}/do_hibernate" ]
 }
 do_suspend_hybrid() {
-- 
1.5.3.8

_______________________________________________
Pm-utils mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/pm-utils

Reply via email to