mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-10-05 05:45:46 +00:00
virsh-domain: Fix flag name in error message to match the check
The check is done on the "--paused" flag but the error message stated "--saved"
This commit is contained in:
parent
ccb692102a
commit
020e210387
@ -3688,7 +3688,7 @@ cmdSaveImageEdit(vshControl *ctl, const vshCmd *cmd)
|
|||||||
* step fails, but the define step will always fail on invalid
|
* step fails, but the define step will always fail on invalid
|
||||||
* flags, so we reject it up front to avoid looping. */
|
* flags, so we reject it up front to avoid looping. */
|
||||||
if (define_flags == (VIR_DOMAIN_SAVE_RUNNING | VIR_DOMAIN_SAVE_PAUSED)) {
|
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;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user