3
0
Fork 0
forked from mirrors/nixpkgs

nixos-generate-config: Don't include /var/setuid-wrappers

This commit is contained in:
Eelco Dolstra 2014-05-08 21:01:34 +02:00
parent 91afe9eb8d
commit dc78ae327c

View file

@ -291,6 +291,7 @@ 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 "/var/setuid-wrappers";
# Skip the optional fields.
my $n = 6; $n++ while $fields[$n] ne "-"; $n++;