Percy Wegmann 9fe21bb382
cmd/tailscaled: actually derive statedir from statepath
The documentation for `--statedir` says that if unspecified, it will be derived
from `--state` if possible. It was not. In addition, if `--state` was specified,
`--statedir` was not even defaulted to its usual default, so remained empty.

Now, if only `--state` is specified, `--statedir` is derived from it.

Updates #14025

Signed-off-by: Percy Wegmann <percy@tailscale.com>
2025-09-04 06:37:47 -05:00
..
2025-01-07 13:05:37 -08:00
2023-08-03 13:00:45 -07:00
2024-04-16 15:32:38 -07:00
2025-03-29 11:02:42 -07:00