You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/cmd
Brad Fitzpatrick a28d280b95 cmd/tailscaled: move start-up failure logging to one place
The caller of func run said:

    // No need to log; the func already did

But that wasn't true. Some return paths didn't log.

So instead, return rich errors and have func main do the logging,
so we can't miss anything in the future.

Prior to this, safesocket.Listen for instance was causing tailscaled
to os.Exit(1) on failure without any clue as to why.

Change-Id: I9d71cc4d73d0fed4aa1b1902cae199f584f25793
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
3 years ago
..
addlicense cmd/addlicense: add command to add licenseheaders to generated code 3 years ago
cloner cmd/cloner: mangle "go:generate" in cloner.go 3 years ago
derper cmd/derper: allow http port configuration 3 years ago
derpprobe derp: use new node key type. 3 years ago
hello all: adapt to opaque netaddr types 3 years ago
mkpkg cmd/mkpkg: allow zero files in a package. 3 years ago
speedtest cmd: upgrade to ffcli v3 3 years ago
tailscale ipn/ipnstate, cmd/tailscale: add Online bool to tailscale status & --json 3 years ago
tailscaled cmd/tailscaled: move start-up failure logging to one place 3 years ago
testcontrol cmd/testcontrol: add test control server 3 years ago
tsshd tsshd: fix double exit with different exit codes 3 years ago