Don't collect preprocess.command errors after we get a HARD_FAIL

This commit is contained in:
jesopo 2019-05-15 16:41:49 +01:00
parent eb456f0123
commit 278d6f02d6

View file

@ -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: