3
0
Fork 0
forked from mirrors/nixpkgs

/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++;