virt-filesystems: Ignore errors when getting label and UUID (RHBZ#668112).
authorRichard W.M. Jones <rjones@redhat.com>
Sat, 8 Jan 2011 10:15:39 +0000 (10:15 +0000)
committerRichard W.M. Jones <rjones@redhat.com>
Sat, 8 Jan 2011 10:15:39 +0000 (10:15 +0000)
commit97339a0f43d687efac6f7edafdf21e4b8d9b35e8
tree2d68b0e3c0c98b4b3a94c249a80795d71e51e4a3
parent7e1114445e713c4a15f3f2cede5842044de1735a
virt-filesystems: Ignore errors when getting label and UUID (RHBZ#668112).

If virt-filesystems was pointed to an image that contained
bogus or blank filesystems, then calls to vfs-label and/or vfs-uuid
could fail, resulting in errors like this:

libguestfs: error: vfs_label: /dev/vda1:

These errors can be ignored and shouldn't stop virt-filesystems
from working.
cat/virt-filesystems.c