summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--hooks/resume4
1 files changed, 2 insertions, 2 deletions
diff --git a/hooks/resume b/hooks/resume
index 24b9949..4af85ea 100644
--- a/hooks/resume
+++ b/hooks/resume
@@ -17,7 +17,7 @@ run_hook ()
suspend2root="/proc/suspend2"
fi
if [ -d "${suspend2root}" -a "x${resume2}" != "x" ]; then
- echo ${resume2} > ${resume2root}/resume2
- echo "" > ${resume2root}/do_resume
+ echo ${resume2} > ${suspend2root}/resume2
+ echo > ${suspend2root}/do_resume
fi
}