Don't run tset as it make the script hangs sometimes

master
Daniel Berteaud 5 years ago
parent 4f96f4d44a
commit ba36653cd4
  1. 6
      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 with the global exit code (if at least one domain had an error, it'll be != 0)
exit $exit; exit $exit;

Loading…
Cancel
Save