Log the fact of launching and include protocol version number.

MFC after:	3 days
This commit is contained in:
Pawel Jakub Dawidek 2010-12-16 07:28:40 +00:00
parent 4a7b75273b
commit 347bde360a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=216477

View File

@ -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) {