~修复singbox启动提示outbounds模块找不到DIRECT出口的问题

This commit is contained in:
juewuy
2024-02-08 12:00:12 +08:00
parent 38af29536b
commit 050e2a030f

View File

@@ -730,7 +730,7 @@ EOF
EOF
fi
#生成add_outbounds.json
[ -z "$(cat ${CRASHDIR}/jsons/*.json | grep -oEi '"tag": *"DIRECT"')" ] && cat > ${TMPDIR}/jsons/add_outbounds.json <<EOF
[ -z "$(cat ${CRASHDIR}/jsons/*.json | grep -oE '"tag": *"DIRECT"')" ] && cat > ${TMPDIR}/jsons/add_outbounds.json <<EOF
{
"outbounds": [
{ "type": "direct", "tag": "DIRECT" }