about summary refs log tree commit diff
diff options
context:
space:
mode:
-rwxr-xr-xzzz2
1 files changed, 1 insertions, 1 deletions
diff --git a/zzz b/zzz
index 69fd3b1..ff50d28 100755
--- a/zzz
+++ b/zzz
@@ -47,7 +47,7 @@ done
 
 case "$ZZZ_MODE" in
   standby) printf freeze >/sys/power/state || fail "standby failed";;
-  suspend) printf >/sys/power/state || fail "suspend failed";;
+  suspend) printf mem >/sys/power/state || fail "suspend failed";;
   hibernate)
 	echo $ZZZ_HIBERNATE_MODE >/sys/power/disk
 	printf disk >/sys/power/state || fail "hibernate failed";;