1
0
mirror of https://github.com/tw93/Mole.git synced 2026-02-11 15:53:59 +00:00

Merge branch 'main' of github.com:tw93/Mole

This commit is contained in:
Tw93
2025-12-28 10:07:08 +08:00

View File

@@ -611,7 +611,7 @@ is_path_whitelisted() {
# Check for exact match or glob pattern match # Check for exact match or glob pattern match
# shellcheck disable=SC2053 # shellcheck disable=SC2053
if [[ "$normalized_target" == "$expanded_pattern" ]] || if [[ "$normalized_target" == "$expanded_pattern" ]] ||
[[ "$normalized_target" == $expanded_pattern ]]; then [[ "$normalized_target" == $expanded_pattern ]]; then
return 0 return 0
fi fi
done done