fixup for previous commit: really set blocking mode
authorDietmar Maurer <dietmar@proxmox.com>
Wed, 6 Jun 2018 06:24:57 +0000 (08:24 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Wed, 6 Jun 2018 06:24:57 +0000 (08:24 +0200)
PVE/APIClient/Commands/lxc.pm

index 23f33b2..346df51 100644 (file)
@@ -150,7 +150,7 @@ my $client_exit = sub {
     }
 
     # switch back to blocking mode (else later shell commands will fail).
-    STDIN->blocking(0);
+    STDIN->blocking(1);
 
     #
     # Reset the terminal parameters.