only warn if symlink cannot be created, don't error out

main
parent bc7ce4affc
commit e77e194ebd
Signed by: josch
GPG Key ID: F2CBA5C78FBD83E1

@ -1181,7 +1181,7 @@ sub setup_mounts {
or warning("cannot unlink ./dev/$fname: $!"); or warning("cannot unlink ./dev/$fname: $!");
}; };
symlink $linkname, "$options->{root}/dev/$fname" symlink $linkname, "$options->{root}/dev/$fname"
or error or warning
"cannot create symlink ./dev/$fname -> $linkname"; "cannot create symlink ./dev/$fname -> $linkname";
} }
} elsif ($type == 3 or $type == 4) { } elsif ($type == 3 or $type == 4) {

Loading…
Cancel
Save