diff --git a/module/common_func.sh b/module/common_func.sh index 56e74a8..f7cb699 100644 --- a/module/common_func.sh +++ b/module/common_func.sh @@ -47,7 +47,7 @@ resetprop_hexpatch() { local PROPFILE="/dev/__properties__/$(resetprop -Z "$NAME")" fi [ ! -f "$PROPFILE" ] && return 3 - local NAMEOFFSET=$(echo $(strings -t d "$PROPFILE" | grep "$NAME") | cut -d ' ' -f 1) + local NAMEOFFSET=$(echo $(strings -t d "$PROPFILE" | grep "$NAME") | cut -d\ -f1) # local NEWHEX="$(printf '%02x' "$NEWLEN")$(printf "$NEWVALUE" | od -A n -t x1 -v | tr -d ' \n')$(printf "%$((92-NEWLEN))s" | sed 's/ /00/g')"