mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-04-29 22:14:27 +02:00
Ensure target path exists before mknod
Co-authored-by: LoveSy <shana@zju.edu.cn>
This commit is contained in:
parent
b7ca73f431
commit
5e35703091
@ -704,6 +704,7 @@ install_module() {
|
||||
|
||||
for TARGET in $REMOVE; do
|
||||
ui_print "- Remove target: $TARGET"
|
||||
mkdir -p $(dirname $MODPATH$TARGET) 2>/dev/null
|
||||
mknod $MODPATH$TARGET c 0 0
|
||||
done
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user