Remove stderr=False from calls to exit_json. (#2879)

This commit is contained in:
Matt Clay
2016-09-07 15:40:17 -07:00
parent 7e36f4f302
commit d00e941a0e
2 changed files with 2 additions and 4 deletions

View File

@@ -276,7 +276,7 @@ def main():
if rc != 0:
if state == 'absent':
module.exit_json(changed=False, stdout="Volume group %s does not exist." % vg, stderr=False)
module.exit_json(changed=False, stdout="Volume group %s does not exist." % vg)
else:
module.fail_json(msg="Volume group %s does not exist." % vg, rc=rc, err=err)
@@ -290,7 +290,7 @@ def main():
if rc != 0:
if state == 'absent':
module.exit_json(changed=False, stdout="Volume group %s does not exist." % vg, stderr=False)
module.exit_json(changed=False, stdout="Volume group %s does not exist." % vg)
else:
module.fail_json(msg="Volume group %s does not exist." % vg, rc=rc, err=err)