mirror of
https://github.com/topjohnwu/Magisk
synced 2024-11-13 20:54:12 +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() {
|
||||
cat /proc/mounts | grep -q " `readlink -f $1` " 2>/dev/null
|
||||
grep -q " `readlink -f $1` " /proc/mounts 2>/dev/null
|
||||
return $?
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user