From: Christian Brauner Date: Thu, 8 Feb 2018 14:42:16 +0000 (+0100) Subject: coverity: #1426734 X-Git-Tag: lxc-2.0.10~341 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=342a552f33d2a27b19aeaccdf13c22e18363621e;p=thirdparty%2Flxc.git coverity: #1426734 Argument cannot be negative Signed-off-by: Christian Brauner --- 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; }