diff --git a/scripts/util_functions.sh b/scripts/util_functions.sh index 17e6e2f4b..630e731af 100644 --- a/scripts/util_functions.sh +++ b/scripts/util_functions.sh @@ -47,7 +47,7 @@ grep_prop() { getvar() { local VARNAME=$1 - local VALUE=`eval echo \$$VARNAME` + local VALUE=$(eval echo \$$VARNAME) [ ! -z $VALUE ] && return for DIR in /dev /data /cache /system; do VALUE=`grep_prop $VARNAME $DIR/.magisk`