From b1651c5d5444b990b58180a26d6e76779cbb88a9 Mon Sep 17 00:00:00 2001 From: Tianling Shen Date: Mon, 17 Oct 2022 20:46:28 +0800 Subject: treewide: fix procd service inactive Exit directly will result procd service inactive and uci configuration changes are no longer monitored. Reported-by: Lvc Revincx Signed-off-by: Tianling Shen --- net/dnsproxy/files/dnsproxy.init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'net/dnsproxy/files') 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" -- cgit v1.2.3