OSDN Git Service

v2raya: fix procd service inactive
[v2raya/v2raya-openwrt.git] / v2raya / files / v2raya.init
index a8295b6..9c207f7 100755 (executable)
@@ -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"