summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2010-05-11 18:27:18 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2010-05-11 18:27:18 +0200
commit5e98acb5ba47129fe3d9edcf1b400c3cdacc0838 (patch)
tree69031751ee758ff2caa250befb7778a8e7edde84 /bin
parentb0eb2aa49c97188d4fd25b609f360d5da8c09bca (diff)
Fix --ignore-info handling, add more parser tests
Diffstat (limited to 'bin')
-rwxr-xr-xbin/efa2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/efa b/bin/efa
index 01b66d3..4c4702f 100755
--- a/bin/efa
+++ b/bin/efa
@@ -186,7 +186,7 @@ sub show_content {
foreach my $part (@{$connection}) {
foreach (@{$part->{extra}}) {
- if (not (defined $ignore_info and $_ =~ /$ignore_info/i)) {
+ if (not (length($ignore_info) and $_ =~ /$ignore_info/i)) {
print "# $_\n";
}
}