From ace52426145851ff2c01dd4b7bafdc21525621fc Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Fri, 30 May 2014 15:04:36 +0200 Subject: [PATCH] priv: don't output rc status twice when unable to open socket --- src/daemon/priv-linux.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/daemon/priv-linux.c b/src/daemon/priv-linux.c index 585948b9..add31136 100644 --- a/src/daemon/priv-linux.c +++ b/src/daemon/priv-linux.c @@ -158,7 +158,6 @@ asroot_iface_init_os(int ifindex, char *name, int *fd) if ((*fd = socket(PF_PACKET, SOCK_RAW, htons(ETH_P_ALL))) < 0) { rc = errno; - must_write(PRIV_PRIVILEGED, &rc, sizeof(rc)); return rc; } -- 2.39.5