ls: ignore spurious getfilecon failure due to lack of SELinux support
authorJohn David Anglin <dave@hiauly1.hia.nrc.ca>
Mon, 4 Aug 2008 12:04:44 +0000 (14:04 +0200)
committerJim Meyering <meyering@redhat.com>
Tue, 5 Aug 2008 10:27:18 +0000 (12:27 +0200)
commit8c3835bf931b766a9a44368520ea670229e540ed
treee9d6bfbda1aaa0734f9785f349fe65c4b2e5336f
parent273c10fc2c508715f8810eb640d6561bf0caaabf
ls: ignore spurious getfilecon failure due to lack of SELinux support

* src/ls.c (gobble_file): Upon failed getfilecon, treat an errno value
of EOPNOTSUPP just like ENOTSUP.  See <http://bugs.debian.org/488549>.
src/ls.c