Hi,
On Fri, Oct 16, 2009 at 01:57:50PM +0200, Philipp Wehrheim wrote:
> Hey folks,
>
> Im trying to send status mails
> via MailTo which is not properly working
> if the subject is longer the a single word.
>
> The patch below fix it.
>
> Thanks for your work!
>
> Philipp
>
>
> --- a/MailTo 2009-10-16 13:49:30.000000000 +0200
> +++ b/MailTo 2009-10-16 13:43:00.000000000 +0200
> @@ -94,7 +94,7 @@
>
> SubjectLine() {
> case $1 in
> - ??*) echo $@;;
> + ??*) echo $1;;
The other way around :)
> *) echo "Resource Group";;
> esac
> }
Thanks. Committed. Strange that nobody ever noticed it.
Cheers,
Dejan
>
> <cib snip>
>
> <primitive id="ovz140gp-mail" class="ocf" provider="heartbeat"
> type="MailTo">
> <instance_attributes id="ovz140gp-mail-ia">
> <attributes>
> <nvpair id="MailTo-inst-email" name="email"
> value="si...@tester"/>
> <nvpair id="MailTo-inst-subject" name="subject" value="asdf
> 1234 5678"/>
> </attributes>
> </instance_attributes>
> </primitive>
>
>
> </cib snip>
>
>
>
> _______________________________________________
> Linux-HA mailing list
> [email protected]
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems