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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The check is done on the "--paused" flag by the error message stated
"--started"
---
 tools/virsh-domain.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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;
     }

-- 
1.8.1.1

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]