From 77d5ccdc99efc2a57003ce76436de57b879eb27d Mon Sep 17 00:00:00 2001 From: Chris Renshaw Date: Sat, 28 Jun 2025 01:06:52 -0300 Subject: [PATCH] Cosmetic changes to match other cut usage --- module/common_func.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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')"