skip /dev in directory creation

This commit is contained in:
Johannes 'josch' Schauer 2018-10-22 11:39:31 +02:00
parent 145bfe5233
commit 12fc63385b
Signed by untrusted user: josch
GPG key ID: F2CBA5C78FBD83E1

View file

@ -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