2013-02-28 Sancho Lerena <slerena@artica.es>
* lib/PandoraFMS/PluginServer.pm: Removed several "Use of uninitialized value in string" errors. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7747 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
01cff5fda9
commit
fc48d64826
|
@ -1,3 +1,8 @@
|
||||||
|
2013-02-28 Sancho Lerena <slerena@artica.es>
|
||||||
|
|
||||||
|
* lib/PandoraFMS/PluginServer.pm: Removed several "Use of uninitialized i
|
||||||
|
value in string" errors.
|
||||||
|
|
||||||
2013-02-28 Ramon Novoa <rnovoa@artica.es>
|
2013-02-28 Ramon Novoa <rnovoa@artica.es>
|
||||||
|
|
||||||
* bin/pandora_server: Undid the previous commit since forking after
|
* bin/pandora_server: Undid the previous commit since forking after
|
||||||
|
|
|
@ -152,9 +152,17 @@ sub data_consumer ($$) {
|
||||||
|
|
||||||
# Build command to execute
|
# Build command to execute
|
||||||
my $command = $plugin->{'execute'};
|
my $command = $plugin->{'execute'};
|
||||||
|
|
||||||
|
if (!defined($plugin->{'parameters'})){
|
||||||
|
$plugin->{'parameters'} = "";
|
||||||
|
}
|
||||||
|
|
||||||
my $parameters = $plugin->{'parameters'};
|
my $parameters = $plugin->{'parameters'};
|
||||||
|
|
||||||
|
if (!defined($module->{'macros'})){
|
||||||
|
$module->{'macros'} = "";
|
||||||
|
}
|
||||||
|
|
||||||
# Macros
|
# Macros
|
||||||
eval {
|
eval {
|
||||||
if ($module->{'macros'} ne '') {
|
if ($module->{'macros'} ne '') {
|
||||||
|
|
Loading…
Reference in New Issue