[Pm-utils] [PATCH 06/17] Get rid of redundant return command in toxonice.
Victor Lowther
victor.lowther at gmail.com
Sat Feb 9 18:31:10 PST 2008
---
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
More information about the Pm-utils
mailing list