]> git.etc.gen.nz Git - mythtv-status.git/commitdiff
If in verbose mode, print out the email text. feature-html-email
authorAndrew Ruthven <andrew@etc.gen.nz>
Thu, 31 Jul 2008 04:47:30 +0000 (16:47 +1200)
committerAndrew Ruthven <andrew@etc.gen.nz>
Thu, 31 Jul 2008 04:47:30 +0000 (16:47 +1200)
bin/mythtv-status

index a1dc93e335d12d7f74b646aeca11dbd6cf1a80c1..b1c36377b857824daa3c02893c608cdeea96ac74 100755 (executable)
@@ -600,7 +600,8 @@ if ($return_code_only) {
 
     $mail->send('sendmail');
 
-    print $mail->as_string;
+    print $mail->as_string
+      if $verbose;
 
   }
 }