mirror of
https://github.com/topjohnwu/Magisk
synced 2024-11-14 22:28:37 +01:00
Update util_functions.sh
Eliminates `cat: write error`
This commit is contained in:
parent
586488af48
commit
0a64a7e5d4
@ -252,7 +252,7 @@ sign_chromeos() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
is_mounted() {
|
is_mounted() {
|
||||||
cat /proc/mounts | grep -q " `readlink -f $1` " 2>/dev/null
|
grep -q " `readlink -f $1` " /proc/mounts 2>/dev/null
|
||||||
return $?
|
return $?
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user