diff --git a/scripts/util_functions.sh b/scripts/util_functions.sh index 982143fe9..be3f84523 100644 --- a/scripts/util_functions.sh +++ b/scripts/util_functions.sh @@ -595,7 +595,7 @@ copy_sepolicy_rules() { local RULESDIR local active_dir=$(magisk --path)/.magisk/mirror/sepolicy.rules if [ -L $active_dir ]; then - RULESDIR=$(readlink -f $active_dir) + RULESDIR=$(readlink $active_dir) elif [ -d /data/unencrypted ] && ! grep ' /data ' /proc/mounts | grep -qE 'dm-|f2fs'; then RULESDIR=/data/unencrypted/magisk elif grep -q ' /cache ' /proc/mounts; then