From 342a552f33d2a27b19aeaccdf13c22e18363621e Mon Sep 17 00:00:00 2001 From: Christian Brauner Date: Thu, 8 Feb 2018 15:42:16 +0100 Subject: [PATCH] coverity: #1426734 Argument cannot be negative Signed-off-by: Christian Brauner --- src/lxc/monitor.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/lxc/monitor.c b/src/lxc/monitor.c index 65ae9aa05..acd8bfac8 100644 --- a/src/lxc/monitor.c +++ b/src/lxc/monitor.c @@ -239,7 +239,6 @@ int lxc_monitor_open(const char *lxcpath) if (fd < 0) { ERROR("Failed to connect to monitor socket: %s.", strerror(errno)); - close(fd); return -1; } -- 2.47.2