Skip to content
Snippets Groups Projects
Commit 727b368d authored by Cédric Roux's avatar Cédric Roux
Browse files

minor: always exit on error

parent 57eef276
No related branches found
No related tags found
No related merge requests found
......@@ -107,9 +107,7 @@ int netlink_init(void)
if (nas_sock_fd[i] == -1) {
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);
#endif
}
printf("[NETLINK]Opened socket with fd %d\n",nas_sock_fd[i]);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment