Hi, scripting wbemcli would be much easier if it returned different exit status on success than on failure. It's also pretty easy to achieve, see the attached patch. Would you consider applying something similar? I maintain the sblim-wbemcli package in Debian with this patch (in addition to two others) and it works well. The next stable Debian release freezes in January, so it would be fantastic if you could cut a new release before the end of December with some/all of the patches accumulated in the bug tracker (like the TLS patch for example).
Thanks,
Feri.