mirror of
https://github.com/tailscale/tailscale.git
synced 2025-01-05 14:57:49 +00:00
tsnet: set varRoot state directory field
This makes tsnet work on https://gokrazy.org! 🎉 Signed-off-by: Michael Stapelberg <michael@stapelberg.de>
This commit is contained in:
parent
e6fbc0cd54
commit
b3abdc381d
@ -148,6 +148,7 @@ func (s *Server) start() error {
|
||||
if err != nil {
|
||||
return fmt.Errorf("NewLocalBackend: %v", err)
|
||||
}
|
||||
lb.SetVarRoot(s.dir)
|
||||
s.lb = lb
|
||||
lb.SetDecompressor(func() (controlclient.Decompressor, error) {
|
||||
return smallzstd.NewDecoder(nil)
|
||||
|
Loading…
x
Reference in New Issue
Block a user