[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

ftpmaster-dak r1089: HAHA. Lets put the header in the right place



------------------------------------------------------------
revno: 1089
committer: Joerg Jaspert <joerg@ganneff.de>
branch nick: ftpmaster-upstream
timestamp: Thu 2008-05-08 09:10:24 +0200
message:
  HAHA. Lets put the header in the right place
modified:
  tools/debianqueued-0.9/debianqueued
=== modified file 'tools/debianqueued-0.9/debianqueued'
--- a/tools/debianqueued-0.9/debianqueued	2008-05-07 22:43:45 +0000
+++ b/tools/debianqueued-0.9/debianqueued	2008-05-08 07:10:24 +0000
@@ -2077,7 +2077,7 @@
 	my $file = shift;
 
 	$main::mail_addr = "";
-	$main::mail_text = "X-Debian: DAK\n";
+	$main::mail_text = "";
 	$main::mail_subject = $file ? "Processing of $file" : "";
 }
 
@@ -2121,8 +2121,8 @@
 	my $text = shift;
 
 	debug( "Sending mail to $addr" );
-	debug( "executing $conf::mail -s '$subject' '$addr'" );
-	if (!open( MAIL, "|$conf::mail -s '$subject' '$addr'" )) {
+	debug( "executing $conf::mail -s '$subject' -a 'X-Debian: DAK' '$addr'" );
+	if (!open( MAIL, "|$conf::mail -s '$subject' -a 'X-Debian: DAK' '$addr'" )) {
 		msg( "log", "Could not open pipe to $conf::mail: $!\n" );
 		return 0;
 	}


Reply to: