we should be checking if there are no flags specified
This commit is contained in:
parent
174f0070ff
commit
d41aa7a6c2
1 changed files with 1 additions and 1 deletions
|
@ -259,7 +259,7 @@ class Module(ModuleManager.BaseModule):
|
||||||
current_flags = event["spec"][0].get_user_setting(target.get_id(),
|
current_flags = event["spec"][0].get_user_setting(target.get_id(),
|
||||||
"flags", "")
|
"flags", "")
|
||||||
|
|
||||||
if event["spec"][2]:
|
if not event["spec"][2]:
|
||||||
current_flags_str = ("+%s" % current_flags) if current_flags else ""
|
current_flags_str = ("+%s" % current_flags) if current_flags else ""
|
||||||
event["stdout"].write("Flags for %s: %s" %
|
event["stdout"].write("Flags for %s: %s" %
|
||||||
(target, current_flags_str))
|
(target, current_flags_str))
|
||||||
|
|
Loading…
Reference in a new issue