summaryrefslogtreecommitdiffstats
path: root/perl-install/Xconfig/xfree.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/Xconfig/xfree.pm')
-rw-r--r--perl-install/Xconfig/xfree.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/Xconfig/xfree.pm b/perl-install/Xconfig/xfree.pm
index 583229f4b..89b06a61f 100644
--- a/perl-install/Xconfig/xfree.pm
+++ b/perl-install/Xconfig/xfree.pm
@@ -13,8 +13,8 @@ use log;
#- files are optional
sub read {
my ($class, $xfree3_file, $xfree4_file) = @_;
- bless { xfree3 => Xconfig::xfree3->read($xfree3_file),
- xfree4 => Xconfig::xfree4->read($xfree4_file) }, $class;
+ bless { xfree3 => eval { Xconfig::xfree3->read($xfree3_file) } || [],
+ xfree4 => eval { Xconfig::xfree4->read($xfree4_file) } || [] }, $class;
}
#- files are optional
sub write {