1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-03-09 15:40:03 +00:00

Fix shadowsocks rules status for multi rules

This commit is contained in:
Ycarus (Yannick Chabanois) 2020-06-27 21:45:43 +02:00
parent 782a610e53
commit 5c5786210c
2 changed files with 3 additions and 3 deletions

View file

@ -288,7 +288,7 @@ stop_service() {
}
rules_exist() {
[ -n "$(iptables -t nat -L -n | grep ss_rules_forward)" ] && return 0
[ -n "$(iptables -t nat -L -n | grep ss_rules)" ] && return 0
return 1
}