From bf659294d7ec8aa774bd8e56947d1739b2ec43c9 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sun, 9 Oct 2011 19:56:43 +0200 Subject: [PATCH] system-linux: return 0 in system_init --- system-linux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system-linux.c b/system-linux.c index 158045a..db809bb 100644 --- a/system-linux.c +++ b/system-linux.c @@ -60,7 +60,7 @@ int system_init(void) rtnl_event.fd = nl_socket_get_fd(sock_rtnl_event); uloop_fd_add(&rtnl_event, ULOOP_READ | ULOOP_EDGE_TRIGGER); - return -(sock_ioctl < 0 || !sock_rtnl); + return 0; error_free_event: nl_socket_free(sock_rtnl_event); -- 2.25.1