Fix a typo

This commit is contained in:
LoveSy 2023-04-04 22:28:49 +08:00 committed by John Wu
parent 39d1d23909
commit b505819ca2
1 changed files with 1 additions and 1 deletions

View File

@ -149,7 +149,7 @@ void module_node::mount() {
string src = module_mnt + module + parent()->root()->prefix + node_path();
if (node_path() == "/system/etc/hosts") {
// special case for /system/etc/hosts to ensure it is writable
src = std::string(MODULEROOT) + module + parent()->root()->prefix + "/system/etc/hosts";
src = std::string(MODULEROOT "/") + module + parent()->root()->prefix + "/system/etc/hosts";
}
if (exist())
clone_attr(mirror_path().data(), src.data());