olricd panics if the CLI parameters are invalid.
buraksezer opened this issue · comments
Burak Sezer commented
olricd panics if the CLI parameters are invalid. In order to reproduce the problem:
$ olricd -vh
Failed to parse flags: flag provided but not defined: -vhpanic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x2 addr=0xe8 pc=0x101085474]
goroutine 1 [running]:
main.main()
/Users/buraksezer/go/src/github.com/buraksezer/olric/cmd/olricd/main.go:112 +0x3f4
Burak Sezer commented
Done in b24f903