I can now get a "1" return value in the event of a connection failure:

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 $?
1

Packages are brewing here, if anyone would like to check them out for
sponsoring:

https://launchpad.net/~kentb/+archive/wsmancli-updates/+packages

** Changed in: wsmancli (Ubuntu)
       Status: New => Confirmed

-- 
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

Reply via email to