Skip to content
This repository was archived by the owner on Mar 23, 2024. It is now read-only.

Commit f5315f3

Browse files
author
fbockaj
committed
Add sleep
1 parent 1366af3 commit f5315f3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

cmd/start.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import (
77
"os/signal"
88
"strings"
99
"syscall"
10+
"time"
1011

1112
"github.com/BlockscapeNetwork/signctrl/config"
1213
"github.com/BlockscapeNetwork/signctrl/privval"
@@ -85,6 +86,9 @@ var (
8586
}
8687
}
8788

89+
// Wait for all log messages to be printed out.
90+
time.Sleep(500 * time.Millisecond)
91+
8892
// Terminate the process gracefully with exit code 0.
8993
os.Exit(0)
9094
},

0 commit comments

Comments
 (0)