commit | 898e14b87305ae10651f168906bd782b9469e47d | [log] [tgz] |
---|---|---|
author | Chris Custine <ccustine@apache.org> | Tue Nov 10 05:35:23 2009 +0000 |
committer | Chris Custine <ccustine@apache.org> | Tue Nov 10 05:35:23 2009 +0000 |
tree | abc8938f89567fbbe2f3e95a0d19dba9aab1e6a1 | |
parent | 9a8f6054a904266a6befc1d5fc7d95c630e908e6 [diff] |
FELIX-1858 - Remote commands via ssh only work once per restart git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@834355 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/gogo/runtime/src/main/java/org/apache/felix/gogo/runtime/shell/Pipe.java b/gogo/runtime/src/main/java/org/apache/felix/gogo/runtime/shell/Pipe.java index ed92238..5b8dca5 100644 --- a/gogo/runtime/src/main/java/org/apache/felix/gogo/runtime/shell/Pipe.java +++ b/gogo/runtime/src/main/java/org/apache/felix/gogo/runtime/shell/Pipe.java
@@ -103,9 +103,6 @@ { out.flush(); closure.session.service.threadIO.close(); - tIn.set(in); - tOut.set(out); - tErr.set(err); try { @@ -122,6 +119,11 @@ { e.printStackTrace(); } + + tIn.set(null); + tOut.set(null); + tErr.set(null); + } } }