diff options
Diffstat (limited to 'scripts/snmp/vyatta-snmp-v3.pl')
-rwxr-xr-x | scripts/snmp/vyatta-snmp-v3.pl | 2 |
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 |