summaryrefslogtreecommitdiff
path: root/src/ipcpd/shim-udp
diff options
context:
space:
mode:
authorSander Vrijders <[email protected]>2017-02-10 11:13:34 +0100
committerSander Vrijders <[email protected]>2017-02-10 11:13:34 +0100
commitefb0106950efcf3b5ef86218f719981df9b9e298 (patch)
treef017fda3ce1c1fee8328f2d1108eef14c666594f /src/ipcpd/shim-udp
parent4051a5afbfc92873af44d47ae6613d7bd17f7433 (diff)
downloadouroboros-efb0106950efcf3b5ef86218f719981df9b9e298.tar.gz
ouroboros-efb0106950efcf3b5ef86218f719981df9b9e298.zip
ipcpd: Remove logging if not initialized yet
This removes the logs that would print to stdout if the IPCP fails to initialize. If the user had asked that logs would be printed to the syslog this would be unwanted behaviour.
Diffstat (limited to 'src/ipcpd/shim-udp')
-rw-r--r--src/ipcpd/shim-udp/main.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/ipcpd/shim-udp/main.c b/src/ipcpd/shim-udp/main.c
index 47628a3e..4d6fdc3b 100644
--- a/src/ipcpd/shim-udp/main.c
+++ b/src/ipcpd/shim-udp/main.c
@@ -1195,7 +1195,6 @@ int main(int argc,
sigaction(SIGPIPE, &sig_act, NULL);
if (ipcp_init(argc, argv, THIS_TYPE, &udp_ops) < 0) {
- log_err("Failed to init IPCP.");
ipcp_create_r(getpid(), -1);
exit(EXIT_FAILURE);
}