diff options
author | Tianling Shen <cnsztl@immortalwrt.org> | 2022-10-17 20:46:28 +0800 |
---|---|---|
committer | Rosen Penev <rosenp@gmail.com> | 2022-10-18 07:22:43 -0700 |
commit | b1651c5d5444b990b58180a26d6e76779cbb88a9 (patch) | |
tree | b70dbf6b0d71a650c31b9f19e5040e4b85c0dea1 /net/v2ray-core/files | |
parent | d1bb2fbdc195c1972d54b0d0e2508c6e57490468 (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/v2ray-core/files')
-rwxr-xr-x | net/v2ray-core/files/v2ray.init | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/v2ray-core/files/v2ray.init b/net/v2ray-core/files/v2ray.init index e43f51183..c19bd9cab 100755 --- a/net/v2ray-core/files/v2ray.init +++ b/net/v2ray-core/files/v2ray.init @@ -11,7 +11,7 @@ start_service() { local enabled config_get_bool enabled "enabled" "enabled" "0" - [ "$enabled" -eq "0" ] && exit 1 + [ "$enabled" -eq "1" ] || return 1 local confdir local conffiles |