luci-app-ssocks: fix kill process

This commit is contained in:
CN_SZTL 2020-09-12 22:34:41 +08:00
parent b7478d105a
commit fca5caac75
No known key found for this signature in database
GPG Key ID: 6850B6345C862176

View File

@ -34,7 +34,7 @@ iptables -I INPUT -p tcp --dport "${listen_port}" -j ACCEPT
stop()
{
killall -9 ssocks >/dev/null 2>&1
killall -9 ssocksd >/dev/null 2>&1
rm -f "/etc/config/ssocks-authorization"
rm -f "/var/etc/ssocks.include"
}