From 3226300c1bdd86a31d5efd7b81a4b02ed543d02e Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Wed, 6 Jun 2018 07:46:26 +0200 Subject: [PATCH] enter: on exit, switch back to blocking mode Else later shell commands will fail! --- PVE/APIClient/Commands/lxc.pm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/PVE/APIClient/Commands/lxc.pm b/PVE/APIClient/Commands/lxc.pm index 9da6a1f..23f33b2 100644 --- a/PVE/APIClient/Commands/lxc.pm +++ b/PVE/APIClient/Commands/lxc.pm @@ -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. # -- 2.39.2