diff --git a/hooks/resume.sh b/hooks/resume.sh index 4f1d6c31..619d6347 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...