Commit 727b368d authored by Cedric Roux's avatar Cedric Roux

minor: always exit on error

parent 57eef276
...@@ -107,9 +107,7 @@ int netlink_init(void) ...@@ -107,9 +107,7 @@ int netlink_init(void)
if (nas_sock_fd[i] == -1) { if (nas_sock_fd[i] == -1) {
printf("[NETLINK] Error opening socket %d (%d:%s)\n",nas_sock_fd[i],errno, strerror(errno)); printf("[NETLINK] Error opening socket %d (%d:%s)\n",nas_sock_fd[i],errno, strerror(errno));
#if defined(LINK_ENB_PDCP_TO_IP_DRIVER)
exit(1); exit(1);
#endif
} }
printf("[NETLINK]Opened socket with fd %d\n",nas_sock_fd[i]); printf("[NETLINK]Opened socket with fd %d\n",nas_sock_fd[i]);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment