diff --git a/module/common_setup.sh b/module/common_setup.sh index f75a8b2c..f430c5f4 100644 --- a/module/common_setup.sh +++ b/module/common_setup.sh @@ -61,7 +61,7 @@ done # Work around AOSPA PropImitationHooks conflict when their persist props don't exist if [ -n "$(resetprop ro.aospa.version)" ]; then - for PROP in persist.sys.pihooks.first_api_level persist.sys.pihooks.security_patch; do - resetprop | grep -q "\[$PROP\]" || resetprop -n -p "$PROP" ""; - done; -fi; + for PROP in persist.sys.pihooks.first_api_level persist.sys.pihooks.security_patch; do + resetprop | grep -q "\[$PROP\]" || resetprop -n -p "$PROP" "" + done +fi