[lxc-devel] [lxd/master] exec: remove dead code path

tych0 on Github lxc-bot at linuxcontainers.org
Fri Mar 25 18:17:15 UTC 2016


A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 435 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20160325/48ac7409/attachment.bin>
-------------- next part --------------
From 03f83147db0c3df9bb89ae2a2f0b57ca7dd947ed Mon Sep 17 00:00:00 2001
From: Tycho Andersen <tycho.andersen at canonical.com>
Date: Fri, 25 Mar 2016 18:16:38 +0000
Subject: [PATCH] exec: remove dead code path

This error message looks to be copy pasted from somewhere incorrectly.

Signed-off-by: Tycho Andersen <tycho.andersen at canonical.com>
---
 lxd/container_exec.go | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/lxd/container_exec.go b/lxd/container_exec.go
index 6780089..27020f4 100644
--- a/lxd/container_exec.go
+++ b/lxd/container_exec.go
@@ -183,11 +183,6 @@ func (s *execWs) Do(op *operation) error {
 						continue
 					}
 				}
-
-				if err != nil {
-					shared.Debugf("Got error writing to writer %s", err)
-					break
-				}
 			}
 		}()
 		go func() {


More information about the lxc-devel mailing list