coverity: #1426734

Argument cannot be negative Signed-off-by: 's avatarChristian Brauner <christian.brauner@ubuntu.com>
parent bd01b7d5
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment