]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
virsh-domain: Fix flag name in error message to match the check
authorPeter Krempa <pkrempa@redhat.com>
Thu, 7 Mar 2013 09:51:01 +0000 (10:51 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Thu, 21 Mar 2013 11:32:03 +0000 (12:32 +0100)
The check is done on the "--paused" flag but the error message stated
"--saved"

tools/virsh-domain.c

index e9da11f04b5053ae3b31b865d897e290455f42cf..128e5160fd1e5887a11b4454357dd782bffec9ab 100644 (file)
@@ -3688,7 +3688,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;
     }