From: Andrew Ruthven Date: Thu, 31 Jul 2008 04:47:30 +0000 (+1200) Subject: If in verbose mode, print out the email text. X-Git-Url: http://git.etc.gen.nz/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fheads%2Ffeature-html-email;p=mythtv-status.git If in verbose mode, print out the email text. --- diff --git a/bin/mythtv-status b/bin/mythtv-status index a1dc93e..b1c3637 100755 --- a/bin/mythtv-status +++ b/bin/mythtv-status @@ -600,7 +600,8 @@ if ($return_code_only) { $mail->send('sendmail'); - print $mail->as_string; + print $mail->as_string + if $verbose; } }