diff options
author | Victor Lowther <victor.lowther@gmail.com> | 2008-02-09 19:42:36 -0600 |
---|---|---|
committer | Victor Lowther <victor.lowther@gmail.com> | 2008-02-09 19:42:36 -0600 |
commit | 7d3bbfdd70a4dcc4c0f1717c34c45a585675c6b7 (patch) | |
tree | d9c2a4d7e0b3621fd45a1d4154192b4940dcfe76 /pm/module.d/tuxonice | |
parent | f8fd6a4fb0301b4e3e2767b06e2b561f1b15f7a1 (diff) |
Get rid of redundant return command in toxonice.
Diffstat (limited to 'pm/module.d/tuxonice')
-rw-r--r-- | 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() { |