mirror of
https://github.com/tailscale/tailscale.git
synced 2025-01-05 14:57:49 +00:00
cmd/derper: remove default for non-root users
Signed-off-by: julianknodt <julianknodt@gmail.com>
This commit is contained in:
parent
9d4eddcef8
commit
b67a3007d5
@ -61,7 +61,7 @@ func loadConfig() config {
|
||||
if os.Getuid() == 0 {
|
||||
*configPath = "/var/lib/derper/derper.key"
|
||||
} else {
|
||||
*configPath = "derper.key"
|
||||
log.Fatalf("derper: -c <config path> not specified")
|
||||
}
|
||||
log.Printf("no config path specified; using %s", *configPath)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user