• D
    virGet{User,Group}Ent() don't say success on fail · 4c7d1eab
    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 confusing. This changes it to:
    
    $ virsh -c vbox:///session list
    error: failed to connect to the hypervisor
    error: Failed to find user record for uid '32655'
    4c7d1eab
virutil.c 53.6 KB