summaryrefslogtreecommitdiff
path: root/src/ipcpd/ipcp.c
diff options
context:
space:
mode:
authordimitri staessens <[email protected]>2017-07-16 11:11:52 +0200
committerdimitri staessens <[email protected]>2017-07-16 11:11:52 +0200
commitf02ce7519ed794f22f701f3c1562dfb63bd49d72 (patch)
treeeb38e573ee784fde19cdded82fe5737548d440d7 /src/ipcpd/ipcp.c
parent0bcb3ab0804bbfd31d056c08548cb40591598f4b (diff)
downloadouroboros-f02ce7519ed794f22f701f3c1562dfb63bd49d72.tar.gz
ouroboros-f02ce7519ed794f22f701f3c1562dfb63bd49d72.zip
ipcpd: Log exit status before log_fini()
Diffstat (limited to 'src/ipcpd/ipcp.c')
-rw-r--r--src/ipcpd/ipcp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ipcpd/ipcp.c b/src/ipcpd/ipcp.c
index 4aec7567..fdd1edc4 100644
--- a/src/ipcpd/ipcp.c
+++ b/src/ipcpd/ipcp.c
@@ -736,11 +736,11 @@ void ipcp_fini()
pthread_cond_destroy(&ipcpi.alloc_cond);
pthread_mutex_destroy(&ipcpi.alloc_lock);
+ log_info("IPCP %d out.", getpid());
+
log_fini();
ouroboros_fini();
-
- log_info("IPCP %d out.", getpid());
}
void ipcp_set_state(enum ipcp_state state)