diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/vyatta-show-snmp.pl | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/scripts/vyatta-show-snmp.pl b/scripts/vyatta-show-snmp.pl index b34654d..9c8e814 100755 --- a/scripts/vyatta-show-snmp.pl +++ b/scripts/vyatta-show-snmp.pl @@ -16,7 +16,7 @@ # # Author: Stephen Hemminger # Date: January 2010 -# Description: Script to display snmp information +# Description: Script to display SNMP information # # **** End License **** # @@ -39,11 +39,8 @@ sub get_community { } my $community = get_community(); -die "No SNMP community's configured\n" +die "No SNMP communities configured\n" unless $community; exec 'snmpstatus', '-c', $community, '-v', '1', 'localhost' or die "Can't exec snmpstatus: $!"; - - - |