summaryrefslogtreecommitdiff
path: root/pm/pm-functions.in
diff options
context:
space:
mode:
Diffstat (limited to 'pm/pm-functions.in')
-rw-r--r--pm/pm-functions.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/pm/pm-functions.in b/pm/pm-functions.in
index ad4676d..9c1c297 100644
--- a/pm/pm-functions.in
+++ b/pm/pm-functions.in
@@ -174,7 +174,7 @@ run_hooks() {
[ "$base" \> "$LAST_HOOK" ] && continue
# if we have already inhibited suspend/resume,
# don't run any more hooks.
- [ ! "$3" ] && inhibited && continue
+ [ ! "$3" ] && inhibited && break
update_parameters
if [ -f "$syshooks/$base" ]; then
hook="$syshooks/$base"