瀏覽代碼

fix procd service inactive

Reported-by: Lvc Revincx <[email protected]>
Signed-off-by: Tianling Shen <[email protected]>
Tianling Shen 3 年之前
父節點
當前提交
4d5eaf3080
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      root/etc/init.d/unblockneteasemusic

+ 1 - 1
root/etc/init.d/unblockneteasemusic

@@ -80,7 +80,7 @@ append_filter_client() {
 
 start_service() {
 	config_load "$NAME"
-	is_enabled "config" "enable" || exit 1
+	is_enabled "config" "enable" || return 1
 
 	local update_time
 	config_get update_time "config" "update_time" "3"