Logging autoflush

This commit is contained in:
Juan 2018-08-24 09:20:53 +02:00
parent a8aecad1cd
commit a3ad26ed11
2 changed files with 3 additions and 1 deletions

2
debian/changelog vendored
View File

@ -1,4 +1,4 @@
vn-vmware (1.0.16) stable; urgency=low
vn-vmware (1.0.17) stable; urgency=low
* Initial Release.

View File

@ -14,6 +14,7 @@ use File::Path;
use Net::OpenSSH;
use Sys::CPU;
use Term::ANSIColor;
use IO::Handle;
use List::Util qw(min max);
use constant false => 0;
@ -204,6 +205,7 @@ sub log_error {
unless ($show_logs) {
open($log_fh, '>>', $config{log_file});
$log_fh->autoflush(1);
}
eval {