]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
virsh: do not report error on zero filesystems in cmdDomFSInfo
authorJán Tomko <jtomko@redhat.com>
Tue, 12 Feb 2019 06:58:49 +0000 (07:58 +0100)
committerJán Tomko <jtomko@redhat.com>
Tue, 12 Feb 2019 09:14:53 +0000 (10:14 +0100)
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>
tools/virsh-domain.c

index cb2da8eb5bd281f9742f66f0556484fe0fe1a442..d21e77ce752f83f539103927d83afc03bb92bae8 100644 (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;
     }