diff options
Diffstat (limited to 'scripts/Dpkg')
-rw-r--r-- | scripts/Dpkg/Control/Info.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/Dpkg/Control/Info.pm b/scripts/Dpkg/Control/Info.pm index dd7b90a30..49cb272fd 100644 --- a/scripts/Dpkg/Control/Info.pm +++ b/scripts/Dpkg/Control/Info.pm @@ -193,7 +193,7 @@ sub output { my $str; $str .= $self->{source}->output($fh); foreach my $pkg (@{$self->{packages}}) { - print { $fh } "\n"; + print { $fh } "\n" if defined $fh; $str .= "\n" . $pkg->output($fh); } return $str; |