snmp: changed termination order causing error due to new logging
This commit is contained in:
parent
01938b7a64
commit
c5b852f6b1
1 changed files with 1 additions and 1 deletions
|
|
@ -583,8 +583,8 @@ main(int argc,
|
|||
ok:
|
||||
retval = 0;
|
||||
done:
|
||||
snmp_terminate(h);
|
||||
clixon_log_init(h, __PROGRAM__, LOG_INFO, 0); /* Log on syslog no stderr */
|
||||
clixon_log(h, LOG_NOTICE, "%s: %u Terminated", __PROGRAM__, getpid());
|
||||
snmp_terminate(h);
|
||||
return retval;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue