cmd/ctrld: log that ctrld is starting

This commit is contained in:
Cuong Manh Le
2023-03-16 09:33:09 +07:00
committed by Cuong Manh Le
parent e4eb3b2ded
commit ccf07a7d1c

View File

@@ -112,6 +112,7 @@ func initCLI() {
if err := v.Unmarshal(&cfg); err != nil {
log.Fatalf("failed to unmarshal config: %v", err)
}
fmt.Println("starting ctrld...")
// Wait for network up.
if !ctrldnet.Up() {
log.Fatal("network is not up yet")