[pve-devel] [PATCH pve-client 5/7] lxc enter: switch back to non-blocking mode

Dietmar Maurer dietmar at proxmox.com
Fri Jun 8 11:25:55 CEST 2018


regression was introcude in patch e9d848651dd50d169a532d4428f47b0754e5ac9

Signed-off-by: Dietmar Maurer <dietmar at proxmox.com>
---
 PVE/APIClient/Commands/lxc.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/PVE/APIClient/Commands/lxc.pm b/PVE/APIClient/Commands/lxc.pm
index 4360183..4988bf2 100644
--- a/PVE/APIClient/Commands/lxc.pm
+++ b/PVE/APIClient/Commands/lxc.pm
@@ -259,7 +259,7 @@ __PACKAGE__->register_method ({
 
 	    # And set it to non-blocking so we can every char with IO::Select.
 	    STDIN->blocking(0);
-	    $web_socket->blocking(1);
+	    $web_socket->blocking(0);
 	    $read_select->add($web_socket);
 	    my $input_fh = \*STDIN;
 	    $read_select->add($input_fh);
-- 
2.11.0



More information about the pve-devel mailing list