cmd/tailscale/cli: don't force an interactive login on --reset.

Fixes #1778

Signed-off-by: David Anderson <danderson@tailscale.com>
pull/1782/head
David Anderson 2021-04-22 15:04:53 -07:00 committed by Dave Anderson
parent 36d030cc36
commit 30629c430a
1 changed files with 3 additions and 1 deletions

View File

@ -435,8 +435,10 @@ func runUp(ctx context.Context, args []string) error {
} }
bc.Start(opts) bc.Start(opts)
if upArgs.forceReauth {
startLoginInteractive() startLoginInteractive()
} }
}
select { select {
case <-startingOrRunning: case <-startingOrRunning: