[libvirt] [PATCH 4/8] virsh-domain: Fix flag name in error message to match the check

Eric Blake eblake at redhat.com
Thu Mar 21 03:50:35 UTC 2013


On 03/07/2013 05:53 AM, Peter Krempa wrote:
> The check is done on the "--paused" flag by the error message stated

s/by/but/

> "--started"
> ---
>  tools/virsh-domain.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

ACK.

> 
> diff --git a/tools/virsh-domain.c b/tools/virsh-domain.c
> index 96dd4fa..8dad85d 100644
> --- a/tools/virsh-domain.c
> +++ b/tools/virsh-domain.c
> @@ -3792,7 +3792,7 @@ cmdSaveImageEdit(vshControl *ctl, const vshCmd *cmd)
>       * step fails, but the define step will always fail on invalid
>       * flags, so we reject it up front to avoid looping.  */
>      if (define_flags == (VIR_DOMAIN_SAVE_RUNNING | VIR_DOMAIN_SAVE_PAUSED)) {
> -        vshError(ctl, "%s", _("--running and --saved are mutually exclusive"));
> +        vshError(ctl, "%s", _("--running and --paused are mutually exclusive"));
>          return false;
>      }
> 

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 621 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20130320/8647b641/attachment-0001.sig>


More information about the libvir-list mailing list