summaryrefslogtreecommitdiffstats
path: root/scripts/Dpkg/Changelog/Debian.pm
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--scripts/Dpkg/Changelog/Debian.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/Dpkg/Changelog/Debian.pm b/scripts/Dpkg/Changelog/Debian.pm
index e7dd7c4..051bea7 100644
--- a/scripts/Dpkg/Changelog/Debian.pm
+++ b/scripts/Dpkg/Changelog/Debian.pm
@@ -200,7 +200,7 @@ sub parse {
$self->parse_error($file, $., $error, $_);
}
$expect = NEXT_OR_EOF;
- } elsif (m/^ \-\-/) {
+ } elsif (m/^ --/) {
$self->parse_error($file, $., g_('badly formatted trailer line'), "$_");
} elsif (m/^\s{2,}(?:\S)/) {
unless ($expect eq START_CHANGES or $expect eq CHANGES_OR_TRAILER) {