From ba36653cd4b1319e15516156c21d63040229ec4f Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Wed, 20 Nov 2019 17:18:29 +0100 Subject: [PATCH] Don't run tset as it make the script hangs sometimes --- zmldapsync/zmldapsync.pl | 6 ------ 1 file changed, 6 deletions(-) diff --git a/zmldapsync/zmldapsync.pl b/zmldapsync/zmldapsync.pl index 3c98982..c343eca 100644 --- a/zmldapsync/zmldapsync.pl +++ b/zmldapsync/zmldapsync.pl @@ -702,12 +702,6 @@ DOMAIN: foreach my $domain ( keys $conf->{domains} ) { } } -if ( -t STDIN and -t STDOUT ) { - # zmprov breaks terminal (no echo to your input after execution) - # fix it with a tset - system('tset'); -} - # Exit with the global exit code (if at least one domain had an error, it'll be != 0) exit $exit;