summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--paramiko/channel.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/paramiko/channel.py b/paramiko/channel.py
index 3b6a59df..52b5d849 100644
--- a/paramiko/channel.py
+++ b/paramiko/channel.py
@@ -330,12 +330,10 @@ class Channel (ClosingContextManager):
m.add_byte(cMSG_CHANNEL_REQUEST)
m.add_int(self.remote_chanid)
m.add_string('env')
- m.add_boolean(True)
+ m.add_boolean(False)
m.add_string(name)
m.add_string(value)
- self._event_pending()
self.transport._send_user_message(m)
- self._wait_for_event()
def exit_status_ready(self):
"""