diff options
author | Niko Tyni <ntyni@iki.fi> | 2006-07-12 18:42:00 +0200 |
---|---|---|
committer | Niko Tyni <ntyni@iki.fi> | 2006-07-12 18:42:00 +0200 |
commit | d1830b25c0f16ffe684b75ce0c5e4bd2b3f552bb (patch) | |
tree | 96c2a2290bce465ed884720c5f5fe5b38e0851af | |
parent | c10f5b164ddf4e727c70f9eaf554f65ef5e2fb27 (diff) | |
download | smokeping-d1830b25c0f16ffe684b75ce0c5e4bd2b3f552bb.tar.gz smokeping-d1830b25c0f16ffe684b75ce0c5e4bd2b3f552bb.tar.xz |
Fix morning emails in tSmoke.dist.
-rw-r--r-- | CHANGES | 3 | ||||
-rwxr-xr-x | bin/tSmoke.dist | 2 |
2 files changed, 4 insertions, 1 deletions
@@ -1,3 +1,6 @@ +* fix subject in tSmoke 'morning' emails. --niko, + from Jean-Philippe Luiggi <Jean-Philippe.Luiggi *revolutionlinux.com> + 2006/7/12 -- released version 20060712_trunk 2006/7/11 -- released version 20060711_trunk diff --git a/bin/tSmoke.dist b/bin/tSmoke.dist index dafbd67..daa2c2c 100755 --- a/bin/tSmoke.dist +++ b/bin/tSmoke.dist @@ -128,7 +128,7 @@ sub morning_update($) { } $Body = "Subject: Of $Count Hosts, $Down Down\n"; $Body .= "To: $To\n\n"; - $Body = "Of $Count Hosts, $Down Down:\n"; + $Body .= "Of $Count Hosts, $Down Down:\n"; $Body .= $TmpBody; Smokeping::sendmail($cfg->{Alerts}{from},$To,$Body); } |