1
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:
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() { 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 $?
} }