Explorar o código

fix procd service inactive

Reported-by: Lvc Revincx <[email protected]>
Signed-off-by: Tianling Shen <[email protected]>
(cherry picked from commit 4d5eaf30804f5465a71ea0aeb1c91ed33dfeae22)
Tianling Shen %!s(int64=3) %!d(string=hai) anos
pai
achega
635ffdd095
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      root/etc/init.d/unblockneteasemusic

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

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