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

This commit is contained in:
Johannes Schauer Marin Rodrigues 2023-10-23 10:33:54 +02:00
parent bc7ce4affc
commit e77e194ebd
Signed by untrusted user: josch
GPG key ID: F2CBA5C78FBD83E1

View file

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