]> git.proxmox.com Git - pve-client.git/blobdiff - PVE/APIClient/Commands/lxc.pm
enter: on exit, switch back to blocking mode
[pve-client.git] / PVE / APIClient / Commands / lxc.pm
index 9da6a1f2e16bd1642be3c1f189edcfeeb2e598a0..23f33b2a68ee3a7285218b17a341c9749b5e3c2d 100644 (file)
@@ -149,6 +149,9 @@ my $client_exit = sub {
 
     }
 
+    # switch back to blocking mode (else later shell commands will fail).
+    STDIN->blocking(0);
+
     #
     # Reset the terminal parameters.
     #