/run/wrapper is not a filesystem, no need to skip it

This commit is contained in:
Parnell Springmeyer 2017-02-14 07:32:24 -06:00
parent ba499e3aa0
commit 467bb3f674
No known key found for this signature in database
GPG Key ID: DCCF89258EAD874A

View File

@ -347,7 +347,6 @@ foreach my $fs (read_file("/proc/self/mountinfo")) {
# Skip special filesystems.
next if in($mountPoint, "/proc") || in($mountPoint, "/dev") || in($mountPoint, "/sys") || in($mountPoint, "/run") || $mountPoint eq "/var/lib/nfs/rpc_pipefs";
next if $mountPoint eq "/run/wrappers";
# Skip the optional fields.
my $n = 6; $n++ while $fields[$n] ne "-"; $n++;