cmd/derper: remove default for non-root users

Signed-off-by: julianknodt <julianknodt@gmail.com>
pull/2433/head
julianknodt 3 years ago committed by Julian Knodt
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…
Cancel
Save