Re: [libvirt] [PATCH] virGet{User, Group}Ent() don't say success on fail

2013-09-04 Thread Eric Blake
On 09/04/2013 10:48 AM, Doug Goldstein wrote: > When virGetUserEnt() and virGetGroupEnt() fail due to the uid or gid not > existing on the machine they'll print a message like: > > $ virsh -c vbox:///session list > error: failed to connect to the hypervisor > error: Failed to find user record for

[libvirt] [PATCH] virGet{User, Group}Ent() don't say success on fail

2013-09-04 Thread Doug Goldstein
When virGetUserEnt() and virGetGroupEnt() fail due to the uid or gid not existing on the machine they'll print a message like: $ virsh -c vbox:///session list error: failed to connect to the hypervisor error: Failed to find user record for uid '32655': Success The success at the end is a bit conf