Skip to content

Commit 61af7d9

Browse files
committed
v1.2; do_stop: always reset locks
1 parent f73a81a commit 61af7d9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

build.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
PRODUCT_VERSION_NAME = Installer
2-
PRODUCT_VERSION_MAJOR = 1.1.1
2+
PRODUCT_VERSION_MAJOR = 1.2
33
PRODUCT_VERSION_DNSCRYPT = dnscrypt-proxy-android-2.0.16

structure/system/etc/init.d/99dnscrypt.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ do_start () {
105105
do_stop () {
106106
if ! killproc "$DAEMON" "$PIDFILE"; then
107107
log_debug_msg "$DAEMON died: process not running or permission denied"
108-
exit 1
108+
killall $NAME >/dev/null 2>&1
109109
fi
110110

111111
log_debug_msg "disabling iptables firewall rules"

0 commit comments

Comments
 (0)