---
hooks/resume.sh | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/hooks/resume.sh b/hooks/resume.sh
index 4f1d6c3..619d634 100755
--- a/hooks/resume.sh
+++ b/hooks/resume.sh
@@ -1,5 +1,5 @@
#!/bin/sh
-resume=$(getarg resume) && {
+resume=$(getarg resume) && [ "$(getarg noresume)" = "" ] && {
resume=${resume#resume=}
[ -b "$resume" ] && {
# parsing the output of ls is Bad, but until there is a better way...
--
1.6.0.6
--
To unsubscribe from this list: send the line "unsubscribe initramfs" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html