From efb0106950efcf3b5ef86218f719981df9b9e298 Mon Sep 17 00:00:00 2001 From: Sander Vrijders Date: Fri, 10 Feb 2017 11:13:34 +0100 Subject: 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. --- src/ipcpd/normal/main.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src/ipcpd/normal') diff --git a/src/ipcpd/normal/main.c b/src/ipcpd/normal/main.c index 69f24fce..81912614 100644 --- a/src/ipcpd/normal/main.c +++ b/src/ipcpd/normal/main.c @@ -459,7 +459,6 @@ int main(int argc, sigaction(SIGPIPE, &sig_act, NULL); if (ipcp_init(argc, argv, THIS_TYPE, &normal_ops) < 0) { - log_err("Failed to create instance."); ipcp_create_r(getpid(), -1); exit(EXIT_FAILURE); } -- cgit v1.2.3