summaryrefslogtreecommitdiff
path: root/net/https-dns-proxy/files
diff options
context:
space:
mode:
authorStan Grishin <stangri@melmac.ca>2023-11-24 16:11:57 +0000
committerStan Grishin <stangri@melmac.ca>2023-11-24 16:11:57 +0000
commit2e9f6c44460a48876cd85cde3557ce373693df6b (patch)
tree8000b3f8b1ac6a14ce4c4923a14de11e2113b19d /net/https-dns-proxy/files
parentbc0db51e43f4134f8ac6513dad09d4b73628de3b (diff)
https-dns-proxy: fix unintentional call of service_stopped in boot()
Signed-off-by: Stan Grishin <stangri@melmac.ca>
Diffstat (limited to 'net/https-dns-proxy/files')
-rwxr-xr-xnet/https-dns-proxy/files/etc/init.d/https-dns-proxy2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/https-dns-proxy/files/etc/init.d/https-dns-proxy b/net/https-dns-proxy/files/etc/init.d/https-dns-proxy
index 672e837c7..c9e38cca9 100755
--- a/net/https-dns-proxy/files/etc/init.d/https-dns-proxy
+++ b/net/https-dns-proxy/files/etc/init.d/https-dns-proxy
@@ -134,7 +134,7 @@ boot() {
ubus -t 30 wait_for network.interface 2>/dev/null
on_boot_trigger=1
rc_procd start_service 'on_boot' && service_started 'on_boot'
- is_resolver_working || rc_procd stop_service 'on_boot' && service_stopped 'on_boot'
+ is_resolver_working || { rc_procd stop_service 'on_boot' && service_stopped 'on_boot'; }
}
start_instance() {