mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-08-26 04:18:11 +00:00
Fix a typo
This commit is contained in:
@@ -149,7 +149,7 @@ void module_node::mount() {
|
|||||||
string src = module_mnt + module + parent()->root()->prefix + node_path();
|
string src = module_mnt + module + parent()->root()->prefix + node_path();
|
||||||
if (node_path() == "/system/etc/hosts") {
|
if (node_path() == "/system/etc/hosts") {
|
||||||
// special case for /system/etc/hosts to ensure it is writable
|
// 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())
|
if (exist())
|
||||||
clone_attr(mirror_path().data(), src.data());
|
clone_attr(mirror_path().data(), src.data());
|
||||||
|
Reference in New Issue
Block a user