aboutsummaryrefslogtreecommitdiff
path: root/net/dnsproxy/files
diff options
context:
space:
mode:
authorTianling Shen <cnsztl@immortalwrt.org>2022-10-17 20:46:28 +0800
committerRosen Penev <rosenp@gmail.com>2022-10-18 07:22:43 -0700
commitb1651c5d5444b990b58180a26d6e76779cbb88a9 (patch)
treeb70dbf6b0d71a650c31b9f19e5040e4b85c0dea1 /net/dnsproxy/files
parentd1bb2fbdc195c1972d54b0d0e2508c6e57490468 (diff)
treewide: fix procd service inactive
Exit directly will result procd service inactive and uci configuration changes are no longer monitored. Reported-by: Lvc Revincx <revincx233@gmail.com> Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
Diffstat (limited to 'net/dnsproxy/files')
-rw-r--r--net/dnsproxy/files/dnsproxy.init2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/dnsproxy/files/dnsproxy.init b/net/dnsproxy/files/dnsproxy.init
index 9ac2751b3..1514ee152 100644
--- a/net/dnsproxy/files/dnsproxy.init
+++ b/net/dnsproxy/files/dnsproxy.init
@@ -88,7 +88,7 @@ load_config_param() {
start_service() {
config_load "$CONF"
- is_enabled "global" "enabled" || exit 1
+ is_enabled "global" "enabled" || return 1
procd_open_instance "$CONF"
procd_set_param command "$PROG"