mirror of https://github.com/cbeuw/Cloak
Disallow empty AdminUID
This commit is contained in:
parent
2688e30907
commit
4474a74f02
|
|
@ -229,6 +229,10 @@ func main() {
|
|||
log.Fatalf("Configuration file error: %v", err)
|
||||
}
|
||||
|
||||
if sta.AdminUID == nil {
|
||||
log.Fatalln("AdminUID cannot be empty!")
|
||||
}
|
||||
|
||||
go sta.UsedRandomCleaner()
|
||||
|
||||
listen := func(addr, port string) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue