Log the fact of launching and include protocol version number.
MFC after: 3 days
This commit is contained in:
parent
4a7b75273b
commit
347bde360a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=216477
@ -619,6 +619,9 @@ main_loop(void)
|
||||
PJDLOG_VERIFY(sigaddset(&mask, SIGTERM) == 0);
|
||||
PJDLOG_VERIFY(sigaddset(&mask, SIGCHLD) == 0);
|
||||
|
||||
pjdlog_info("Started successfully, running protocol version %d.",
|
||||
HAST_PROTO_VERSION);
|
||||
|
||||
for (;;) {
|
||||
while ((signo = sigtimedwait(&mask, NULL, &sigtimeout)) != -1) {
|
||||
switch (signo) {
|
||||
|
Loading…
Reference in New Issue
Block a user