Commit 3dc7df39 by James Cammarata

Merge pull request #7532 from oasiswork/devel

open_iscsi module: support RC 21 when listing logged-in target
parents cfd8c685 592a5b6f
......@@ -162,6 +162,8 @@ def target_loggedon(module, target):
if rc == 0:
return target in out
elif rc == 21:
return False
else:
module.fail_json(cmd=cmd, rc=rc, msg=err)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment