From da8ed678810e34b74f4a974f346a56a6f195cca9 Mon Sep 17 00:00:00 2001 From: Tianling Shen Date: Thu, 20 Oct 2022 12:57:33 +0800 Subject: [PATCH] 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 --- files/ua2f.init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/ua2f.init b/files/ua2f.init index 7a2931ad..39846c7b 100755 --- a/files/ua2f.init +++ b/files/ua2f.init @@ -68,7 +68,7 @@ start_service() { local enabled config_get_bool enabled "enabled" "enabled" "0" - [ "$enabled" -eq "1" ] || exit 1 + [ "$enabled" -eq "1" ] || return 1 procd_open_instance "$NAME" procd_set_param command "$PROG"