|
|
@ -666,9 +666,11 @@ DOMAIN: foreach my $domain ( keys $conf->{domains} ) { |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
# zmprov breaks terminal (no echo to your input after execution) |
|
|
|
if ( -t STDIN and -t STDOUT ) { |
|
|
|
# fix it with a tset |
|
|
|
# zmprov breaks terminal (no echo to your input after execution) |
|
|
|
system('tset'); |
|
|
|
# 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; |
|
|
|