aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorGravatar jesopo2019-05-15 16:41:49 +0100
committerGravatar jesopo2019-05-15 16:41:49 +0100
commit278d6f02d6fd41909de66511cf799e5747f1f466 (patch)
tree402039a29fd69612d3c6447e46e7a7387520377d /modules
parentSet silence.py's `preprocess.command` hook to PRIORITY_HIGH, so that other (diff)
signature
Don't collect `preprocess.command` errors after we get a HARD_FAIL
Diffstat (limited to 'modules')
-rw-r--r--modules/commands/__init__.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/commands/__init__.py b/modules/commands/__init__.py
index ff0be268..2b03dee1 100644
--- a/modules/commands/__init__.py
+++ b/modules/commands/__init__.py
@@ -171,6 +171,7 @@ class Module(ModuleManager.BaseModule):
for returned in returns:
if returned == utils.consts.PERMISSION_HARD_FAIL:
hard_fail = True
+ break
elif returned == utils.consts.PERMISSION_FORCE_SUCCESS:
force_success = True
elif returned: