From a6634ce2c49647d7bd11336459c89af341df1049 Mon Sep 17 00:00:00 2001 From: KevinLiang10 <37811973+KevinLiang10@users.noreply.github.com> Date: Thu, 26 Jun 2025 17:25:03 -0400 Subject: [PATCH] cmd/tailscale/cli: flip bool condition This commit fixes a previous bug added that throws error when serve funnel without service. It should've been the opposite, which throws error when serve funnel with service. Signed-off-by: KevinLiang10 <37811973+KevinLiang10@users.noreply.github.com> --- cmd/tailscale/cli/serve_v2.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/tailscale/cli/serve_v2.go b/cmd/tailscale/cli/serve_v2.go index f5d44e697..4e6a31d40 100644 --- a/cmd/tailscale/cli/serve_v2.go +++ b/cmd/tailscale/cli/serve_v2.go @@ -271,7 +271,7 @@ func (e *serveEnv) runServeCombined(subcmd serveMode) execFunc { } funnel := subcmd == funnel - if !forService && funnel { + if forService && funnel { return errors.New("Error: --service flag is not supported with funnel") }