Don't collect preprocess.command
errors after we get a HARD_FAIL
This commit is contained in:
parent
eb456f0123
commit
278d6f02d6
1 changed files with 1 additions and 0 deletions
|
@ -171,6 +171,7 @@ class Module(ModuleManager.BaseModule):
|
||||||
for returned in returns:
|
for returned in returns:
|
||||||
if returned == utils.consts.PERMISSION_HARD_FAIL:
|
if returned == utils.consts.PERMISSION_HARD_FAIL:
|
||||||
hard_fail = True
|
hard_fail = True
|
||||||
|
break
|
||||||
elif returned == utils.consts.PERMISSION_FORCE_SUCCESS:
|
elif returned == utils.consts.PERMISSION_FORCE_SUCCESS:
|
||||||
force_success = True
|
force_success = True
|
||||||
elif returned:
|
elif returned:
|
||||||
|
|
Loading…
Reference in a new issue