From 1599d2e8d189424cd1d4308388b51840d7492388 Mon Sep 17 00:00:00 2001 From: terrafrost Date: Sun, 15 Dec 2013 12:07:17 -0600 Subject: [PATCH] SCP: use the new "mode" for _close_channel --- phpseclib/Net/SCP.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpseclib/Net/SCP.php b/phpseclib/Net/SCP.php index fe7be342..d7ab5409 100644 --- a/phpseclib/Net/SCP.php +++ b/phpseclib/Net/SCP.php @@ -353,7 +353,7 @@ class Net_SCP { { switch ($this->mode) { case NET_SCP_SSH2: - $this->ssh->_close_channel(NET_SSH2_CHANNEL_EXEC); + $this->ssh->_close_channel(NET_SSH2_CHANNEL_EXEC, true); break; case NET_SCP_SSH1: $this->ssh->disconnect();