mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 21:50:33 +03:00
installer: adding perl 'next if' skip command for setcap-wrappers dir
This commit is contained in:
parent
00dc2c559c
commit
6fe93ae42a
1 changed files with 1 additions and 0 deletions
|
@ -329,6 +329,7 @@ foreach my $fs (read_file("/proc/self/mountinfo")) {
|
||||||
# Skip special filesystems.
|
# 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 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/setuid-wrappers";
|
||||||
|
next if $mountPoint eq "/var/setcap-wrappers";
|
||||||
|
|
||||||
# Skip the optional fields.
|
# Skip the optional fields.
|
||||||
my $n = 6; $n++ while $fields[$n] ne "-"; $n++;
|
my $n = 6; $n++ while $fields[$n] ne "-"; $n++;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue