mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-06-12 13:17:39 +02:00
Update util_functions.sh
Eliminates `cat: write error`
This commit is contained in:
@ -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 $?
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user