update 2026-08-04 18:31:57

This commit is contained in:
action
2026-08-04 18:31:57 +08:00
parent dedf7ef28d
commit 3021446ff0
5 changed files with 13 additions and 7 deletions
@@ -475,7 +475,10 @@ ln_run() {
[ -x "${file_func}" ] || echolog " - $(readlink ${file_func}) 没有执行权限,无法启动:${file_func} $*"
fi
#echo "${file_func} $*" >&2
[ -n "${file_func}" ] || echolog " - 找不到 ${ln_name},无法启动..."
[ -n "${file_func}" ] || {
echolog " - 找不到 ${ln_name},无法启动..."
return 1
}
[ "${output}" != "/dev/null" ] && [ -n "$(echo "${output}" | grep -E "default|SOCKS_")" ] && [ "${ln_name}" != "chinadns-ng" ] && {
local persist_log_path=$(config_t_get global persist_log_path)
local sys_log=$(config_t_get global sys_log "0")