diff --git a/modules/commands.py b/modules/commands.py index 282b65d7..1b952fff 100644 --- a/modules/commands.py +++ b/modules/commands.py @@ -183,7 +183,7 @@ class Module(ModuleManager.BaseModule): elif returned == utils.consts.PERMISSION_FORCE_SUCCESS: force_success = True break - else: + elif returned: # error message error = returned if error and not force_success: