virsh: do not report error on zero filesystems in cmdDomFSInfo

Use vshPrintExtra to report this message. It is a human-readable
explanation rather than an error.

Also, it is a very special system that runs with no filesystems.

Signed-off-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
Ján Tomko 2019-02-12 07:58:49 +01:00
parent 023f0672d4
commit 066d91ec79

View File

@ -13955,7 +13955,7 @@ cmdDomFSInfo(vshControl *ctl, const vshCmd *cmd)
if (ninfos == 0) {
ret = true;
vshError(ctl, _("No filesystems are mounted in the domain"));
vshPrintExtra(ctl, _("No filesystems are mounted in the domain"));
goto cleanup;
}