Public bug reported: wsmancli always returns a zero, even if it fails to connect to the endpoint in question.
Example: wsman enumerate http://intel.com/wbem/wscim/1/ips-schema/1/IPS_KVMRedirectionSettingData -h 10.0.0.30 -P 16992 -u admin -p passw0rd1 Connection failed. response code = 0 Couldn't connect to server echo $? 0 This makes it difficult to do things like run bash scripts where multiple wsman commands are invovled. There's no way, for example, to bail out if wsman runs into a problem. ** Affects: wsmancli (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1274550 Title: wsmancli always returns zero even when the connection fails To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/wsmancli/+bug/1274550/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
