cmd/tailscaled: log error on state store init failure

Signed-off-by: Thomas Weiß <panos@unbunt.org>
This commit is contained in:
Thomas Weiß 2021-11-29 11:15:51 +01:00 committed by Brad Fitzpatrick
parent 78b0bd2957
commit 6dc6ea9b37

View File

@ -364,6 +364,7 @@ func run() error {
store, err := ipnserver.StateStore(statePathOrDefault(), logf)
if err != nil {
logf("ipnserver.StateStore: %v", err)
return err
}
srv, err := ipnserver.New(logf, pol.PublicID.String(), store, e, nil, opts)