Commit 0a64a7e5 authored by Zackptg5's avatar Zackptg5 Committed by John Wu

Update util_functions.sh

Eliminates `cat: write error`
parent 586488af
......@@ -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 $?
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment