mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-02-19 21:08:28 +00:00
Fix a typo
This commit is contained in:
parent
39d1d23909
commit
b505819ca2
@ -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());
|
||||
|
Loading…
x
Reference in New Issue
Block a user