From 2086eba5c5c74f1026c5cf20f12129b7d80a9535 Mon Sep 17 00:00:00 2001 From: vgilc Date: Fri, 20 Jan 2017 14:51:42 +0100 Subject: [PATCH] Merge branch '4261_no_meter_archivos_open' into 'pandora_6.0' fixed errors See merge request !65 --- pandora_server/util/pandora_manage.pl | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/pandora_server/util/pandora_manage.pl b/pandora_server/util/pandora_manage.pl index 7e6d411dec..7bfc27337c 100644 --- a/pandora_server/util/pandora_manage.pl +++ b/pandora_server/util/pandora_manage.pl @@ -1422,14 +1422,14 @@ sub cli_create_web_module($) { } close (FILE); - open (FILE, $conf->{incomingdir}.'/conf/'.md5($agent_name).'.conf'); - my @file = ; - my $conf_file = join("", @file); - close(FILE); + #open (FILE, $conf->{incomingdir}.'/conf/'.md5($agent_name).'.conf'); + #my @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]); }