]> git.proxmox.com Git - pve-client.git/commitdiff
lxc enter: switch back to non-blocking mode
authorDietmar Maurer <dietmar@proxmox.com>
Fri, 8 Jun 2018 07:57:09 +0000 (09:57 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Fri, 8 Jun 2018 09:42:22 +0000 (11:42 +0200)
regression was introcude in patch e9d848651dd50d169a532d4428f47b0754e5ac9

PVE/APIClient/Commands/lxc.pm

index 650b6b5273e9cdf8cfa9f052afa5659a2aebf090..6c9603abf17b652dc0b44da6738c127766774410 100644 (file)
@@ -258,7 +258,7 @@ __PACKAGE__->register_method ({
 
            # And set it to non-blocking so we can every char with IO::Select.
            STDIN->blocking(0);
 
            # 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);
            $read_select->add($web_socket);
            my $input_fh = \*STDIN;
            $read_select->add($input_fh);