Don't run tset as it make the script hangs sometimes
This commit is contained in:
parent
4f96f4d44a
commit
ba36653cd4
|
@ -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…
Reference in New Issue