1
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:
Zackptg5 2019-01-10 14:29:13 -05:00 committed by John Wu
parent 586488af48
commit 0a64a7e5d4

View File

@ -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 $?
}