[pkg-perl-tools] 01/02: scripts/forward: fix mail-forwarding bug without patch
Florian Schlichting
fsfs at moszumanska.debian.org
Sun Oct 16 22:02:32 UTC 2016
This is an automated email from the git hooks/post-receive script.
fsfs pushed a commit to branch master
in repository pkg-perl-tools.
commit 905149731c4465613447a2e792efb4a32eb02c21
Author: Florian Schlichting <fsfs at debian.org>
Date: Sun Oct 16 23:56:03 2016 +0200
scripts/forward: fix mail-forwarding bug without patch
---
scripts/forward | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/scripts/forward b/scripts/forward
index 77859e1..dd91137 100755
--- a/scripts/forward
+++ b/scripts/forward
@@ -470,7 +470,8 @@ sub send_by_mail {
Path => $patch,
Filename => basename($patch),
Disposition => 'attachment'
- ) or die "Error adding attachment: $!\n";
+ ) or die "Error adding attachment: $!\n"
+ if $patch;
# the email is not currently sent
MIME::Lite->send( 'sendmail', '/usr/sbin/sendmail -t' )
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/pkg-perl-tools.git
More information about the Pkg-perl-cvs-commits
mailing list