only warn if symlink cannot be created, don't error out
This commit is contained in:
parent
bc7ce4affc
commit
e77e194ebd
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue