Merge branch '4261_no_meter_archivos_open' into 'pandora_6.0'
fixed errors See merge request !65
This commit is contained in:
parent
45938463cf
commit
2086eba5c5
|
@ -1422,14 +1422,14 @@ sub cli_create_web_module($) {
|
|||
}
|
||||
close (FILE);
|
||||
|
||||
open (FILE, $conf->{incomingdir}.'/conf/'.md5($agent_name).'.conf');
|
||||
my @file = <FILE>;
|
||||
my $conf_file = join("", @file);
|
||||
close(FILE);
|
||||
#open (FILE, $conf->{incomingdir}.'/conf/'.md5($agent_name).'.conf');
|
||||
#my @file = <FILE>;
|
||||
#my $conf_file = join("", @file);
|
||||
#close(FILE);
|
||||
|
||||
open FILE, "> ".$conf->{incomingdir}.'/conf/'.md5($agent_name).'.conf';
|
||||
print FILE "$conf_file\n$definition";
|
||||
close(FILE);
|
||||
#open FILE, "> ".$conf->{incomingdir}.'/conf/'.md5($agent_name).'.conf';
|
||||
#print FILE "$conf_file\n$definition";
|
||||
#close(FILE);
|
||||
|
||||
enterprise_hook('pandora_update_md5_file', [$conf, $agent_name]);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue