diff options
Diffstat (limited to 'xpp')
-rw-r--r-- | xpp/perl_modules/Dahdi/Config/GenconfDefaults.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xpp/perl_modules/Dahdi/Config/GenconfDefaults.pm b/xpp/perl_modules/Dahdi/Config/GenconfDefaults.pm index 45250de..2a43e8f 100644 --- a/xpp/perl_modules/Dahdi/Config/GenconfDefaults.pm +++ b/xpp/perl_modules/Dahdi/Config/GenconfDefaults.pm @@ -14,7 +14,7 @@ sub new($$) { my $cfg_file = shift || die; my $self = { GENCONF_FILE => $cfg_file }; bless $self, $pack; - open(F, $cfg_file) || die "$0: Cannot read '$cfg_file': $!\n"; + open(F, $cfg_file) || return $self; # Empty configuration my $array_key; while(<F>) { my ($key, $val); |