Index: commit-email.pl
===================================================================
--- commit-email.pl	(revision 655)
+++ commit-email.pl	(working copy)
@@ -557,7 +557,7 @@
 
     my @head;
     my $formatted_date;
-    if (defined $stdout)
+    if ($stdout)
       {
         $formatted_date = strftime('%a %b %e %X %Y', localtime());
         push(@head, "From $mail_from $formatted_date\n");


