virsh: Improve the job type reported of virsh cmd blockcommit

When starting an active block commit job in virsh, it will report
"Block Commit started", but for more precise message it could
report "Active Block Commit started".

Signed-off-by: Shanzhi Yu <shyu@redhat.com>
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
Shanzhi Yu 2014-10-23 18:13:15 +08:00 committed by Michal Privoznik
parent 90712bb5c0
commit d8415b5469

View File

@ -1723,7 +1723,9 @@ cmdBlockCommit(vshControl *ctl, const vshCmd *cmd)
goto cleanup;
if (!blocking) {
vshPrint(ctl, "%s", _("Block Commit started"));
vshPrint(ctl, "%s", active ?
_("Active Block Commit started") :
_("Block Commit started"));
ret = true;
goto cleanup;
}