summaryrefslogtreecommitdiffstats
path: root/plug
diff options
context:
space:
mode:
Diffstat (limited to 'plug')
-rw-r--r--plug/hotplug.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/plug/hotplug.c b/plug/hotplug.c
index b50c04e..ef98f38 100644
--- a/plug/hotplug.c
+++ b/plug/hotplug.c
@@ -463,10 +463,8 @@ void hotplug(char *rules)
exit(1);
}
- if (setsockopt(hotplug_fd.fd, SOL_SOCKET, SO_RCVBUFFORCE, &nlbufsize, sizeof(nlbufsize))) {
+ if (setsockopt(hotplug_fd.fd, SOL_SOCKET, SO_RCVBUFFORCE, &nlbufsize, sizeof(nlbufsize)))
ERROR("Failed to resize receive buffer: %s\n", strerror(errno));
- exit(1);
- }
json_script_init(&jctx);
queue_proc.cb = queue_proc_cb;