skip /dev in directory creation
This commit is contained in:
parent
145bfe5233
commit
12fc63385b
1 changed files with 0 additions and 1 deletions
|
@ -928,7 +928,6 @@ sub setup {
|
||||||
if ($options->{havemknod}) {
|
if ($options->{havemknod}) {
|
||||||
foreach my $file (@devfiles) {
|
foreach my $file (@devfiles) {
|
||||||
my ($fname, $mode, $type, $linkname, $devmajor, $devminor) = @{$file};
|
my ($fname, $mode, $type, $linkname, $devmajor, $devminor) = @{$file};
|
||||||
next if $fname eq './dev/';
|
|
||||||
if ($type == 0) { # normal file
|
if ($type == 0) { # normal file
|
||||||
die "type 0 not implemented";
|
die "type 0 not implemented";
|
||||||
} elsif ($type == 1) { # hardlink
|
} elsif ($type == 1) { # hardlink
|
||||||
|
|
Loading…
Reference in a new issue