From 0c0e1b04823e9faa479e4462c6eb958df0871b42 Mon Sep 17 00:00:00 2001 From: Stig Thormodsrud Date: Fri, 2 Nov 2007 14:36:04 -0700 Subject: Verify that a community has been defined before firing up snmpd. --- scripts/snmp/vyatta-snmp.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/snmp') diff --git a/scripts/snmp/vyatta-snmp.pl b/scripts/snmp/vyatta-snmp.pl index 7e1f8e63..42988fef 100644 --- a/scripts/snmp/vyatta-snmp.pl +++ b/scripts/snmp/vyatta-snmp.pl @@ -72,7 +72,7 @@ sub snmp_get_constants { } sub snmp_get_values { - my $output; + my $output = ''; my $config = new VyattaConfig; $config->setLevel("protocols snmp community"); -- cgit v1.2.3