From 6d9c0a35b81cae7dfbec6c29823cfdabc4bda73f Mon Sep 17 00:00:00 2001 From: Whispering Wind <151555003+ReturnFI@users.noreply.github.com> Date: Tue, 7 Jan 2025 20:32:04 +0330 Subject: [PATCH] Fix: Status of warp --- core/scripts/warp/status.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/scripts/warp/status.sh b/core/scripts/warp/status.sh index 18a13f2..c019d46 100644 --- a/core/scripts/warp/status.sh +++ b/core/scripts/warp/status.sh @@ -23,7 +23,7 @@ check_warp_configuration() { echo -e "${cyan}Domestic sites (geosite:ir, geoip:ir):${NC} ${red}Inactive${NC}" fi - if jq -e '.acl.inline[]? | select(test("reject\\(geosite:category-porn\\)"))' "$CONFIG_FILE" > /dev/null; then + if jq -e '.acl.inline[]? | select(test("reject\\(geosite:nsfw\\)"))' "$CONFIG_FILE" > /dev/null; then echo -e "${cyan}Block adult content:${NC} ${green}Active${NC}" else echo -e "${cyan}Block adult content:${NC} ${red}Inactive${NC}"