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 5 years ago committed by Dave Anderson
parent 36d030cc36
commit 30629c430a

@ -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:

Loading…
Cancel
Save