Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Linux-HA: Dev

[PATCH] ldirectord: allow quotes for config param monitorfile

 

 

Linux-HA dev RSS feed   Index | Next | Previous | View Threaded


heder at google

Jun 22, 2009, 3:08 AM

Post #1 of 2 (625 views)
Permalink
[PATCH] ldirectord: allow quotes for config param monitorfile

Signed-off-by: Hannes Eder <heder [at] google>
---

diff -r 877eefad16d3 ldirectord/ldirectord.in
--- a/ldirectord/ldirectord.in Mon Jun 22 10:35:58 2009 +0200
+++ b/ldirectord/ldirectord.in Mon Jun 22 11:02:39 2009 +0200
@@ -1514,7 +1514,8 @@
$vsrv{emailalertfreq} = $1;
} elsif ($rcmd =~ /^emailalertstatus\s*=\s*(.*)/) {
$vsrv{emailalertstatus} = &parse_emailalertstatus($line, $1);
- } elsif ($rcmd =~ /^monitorfile\s*=\s*(.*)/) {
+ } elsif ($rcmd =~ /^monitorfile\s*=\s*\"(.*)\"/ or
+ $rcmd =~ /^monitorfile\s*=\s*(.*)/) {
my $monitorfile = $1;
unless (open(MONITORFILE, ">>$monitorfile") and close(MONITORFILE)) {
&config_error($line, "unable to open monitorfile $monitorfile: $!");
_______________________________________________________
Linux-HA-Dev: Linux-HA-Dev [at] lists
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/


horms at verge

Jun 22, 2009, 7:47 PM

Post #2 of 2 (552 views)
Permalink
Re: [PATCH] ldirectord: allow quotes for config param monitorfile [In reply to]

Thanks, applied.
_______________________________________________________
Linux-HA-Dev: Linux-HA-Dev [at] lists
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/

Linux-HA dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.