feat: sudo by default

This commit is contained in:
2026-07-25 22:16:38 +08:00
parent 045242e2c2
commit 6a92e31a90
+1 -1
View File
@@ -158,7 +158,7 @@ check_ssh() {
if [[ -z "$ssh_ports" ]]; then
warn "无法确定 SSH 生效监听端口"
elif [[ ",$ssh_ports," == *,22,* ]]; then
info "SSH 生效监听端口: $ssh_ports(仍包含默认端口 22;请确认是否有意保留)"
warn "SSH 生效监听端口: $ssh_ports(仍包含默认端口 22;请确认是否有意保留)"
else
pass "SSH 生效监听端口: $ssh_ports"
fi