mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 07:01:54 +00:00
installer: adding perl 'next if' skip command for setcap-wrappers dir
This commit is contained in:
parent
00dc2c559c
commit
6fe93ae42a
@ -329,6 +329,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";
|
||||
next if $mountPoint eq "/var/setcap-wrappers";
|
||||
|
||||
# Skip the optional fields.
|
||||
my $n = 6; $n++ while $fields[$n] ne "-"; $n++;
|
||||
|
Loading…
Reference in New Issue
Block a user