summaryrefslogtreecommitdiffstats
path: root/convert/merge2pcitable.pl
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2005-08-25 09:49:23 +0000
committerPascal Rigaux <pixel@mandriva.com>2005-08-25 09:49:23 +0000
commitc0b9ad331d176810e353076fe6d8b54524e6287d (patch)
tree3db02dd811c8042a6fd1db1c5b3c1edef3893f36 /convert/merge2pcitable.pl
parent6755e1ebbe1d4e6f1ff3defb3370b443799386b9 (diff)
downloadldetect-lst-c0b9ad331d176810e353076fe6d8b54524e6287d.tar
ldetect-lst-c0b9ad331d176810e353076fe6d8b54524e6287d.tar.gz
ldetect-lst-c0b9ad331d176810e353076fe6d8b54524e6287d.tar.bz2
ldetect-lst-c0b9ad331d176810e353076fe6d8b54524e6287d.tar.xz
ldetect-lst-c0b9ad331d176810e353076fe6d8b54524e6287d.zip
keep previous behaviour (silently ignore missing file)
Diffstat (limited to 'convert/merge2pcitable.pl')
-rwxr-xr-xconvert/merge2pcitable.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/convert/merge2pcitable.pl b/convert/merge2pcitable.pl
index 92e2db71..1f0e09ce 100755
--- a/convert/merge2pcitable.pl
+++ b/convert/merge2pcitable.pl
@@ -65,7 +65,7 @@ sub read_pcitable {
/"/ && $strict and error("$f:$line: bad double quote");
$_;
};
- foreach (catMaybeCompressed($f)) {
+ foreach (eval { catMaybeCompressed($f) }) {
chomp; $line++;
next if /^#/ || /^\s*$/;