diff options
| author | 2019-05-15 16:41:49 +0100 | |
|---|---|---|
| committer | 2019-05-15 16:41:49 +0100 | |
| commit | 278d6f02d6fd41909de66511cf799e5747f1f466 (patch) | |
| tree | 402039a29fd69612d3c6447e46e7a7387520377d /modules | |
| parent | Set 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__.py | 1 |
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: |
