Get warn option same as other args

pull/18777/head
Ricky Cook 10 years ago committed by Matt Clay
parent 095400c45e
commit a6a9e2c247

@ -163,7 +163,7 @@ def main():
args = module.params['args']
creates = module.params['creates']
removes = module.params['removes']
warn = module.params.get('warn', True)
warn = module.params['warn']
if args.strip() == '':
module.fail_json(rc=256, msg="no command given")

Loading…
Cancel
Save