summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorJohn Southworth <john.southworth@vyatta.com>2013-04-17 17:03:17 -0700
committerJohn Southworth <john.southworth@vyatta.com>2013-04-17 17:03:17 -0700
commit54927b065181893212c28b25240aa7b9bd0bb816 (patch)
tree931074b0055f8b2d74f0d7cbaac5b09389ebc9ab /scripts
parent2c91255a39f54d923db72e90fafba4b2928aa5d2 (diff)
parent07536fbff064af8fd4c35207948f67c22445716b (diff)
downloadvyatta-cfg-system-54927b065181893212c28b25240aa7b9bd0bb816.tar.gz
vyatta-cfg-system-54927b065181893212c28b25240aa7b9bd0bb816.zip
Merge branch 'master' of git.vyatta.com:/git/vyatta-cfg-system
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/snmp/vyatta-snmp-v3.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/snmp/vyatta-snmp-v3.pl b/scripts/snmp/vyatta-snmp-v3.pl
index 2bf9b582..5391a85f 100755
--- a/scripts/snmp/vyatta-snmp-v3.pl
+++ b/scripts/snmp/vyatta-snmp-v3.pl
@@ -54,7 +54,7 @@ sub randhex {
sub parse_config_file {
open( my $cfg, '<', $vyatta_config_file )
- or die "Can't open: $vyatta_config_file: $!";
+ or return;
while (<$cfg>) {
chomp; # no newline
s/#.*//; # no comments