Browse Source

v2raya: fix procd service inactive

Tianling Shen 2 years ago
parent
commit
dce451503a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      v2raya/files/v2raya.init

+ 1 - 1
v2raya/files/v2raya.init

@@ -34,7 +34,7 @@ append_env_bool() {
 start_service() {
 	config_load "$CONF"
 
-	is_enabled "config" "enabled" || exit 1
+	is_enabled "config" "enabled" || return 1
 
 	procd_open_instance "$CONF"
 	procd_set_param command "$PROG"