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

Mailing List Archive: Linux-HA: Dev
[PATCH] ldirectord: allow quotes for config param monitorfile
 

Index | Next | Previous | View Flat


heder at google

Jun 22, 2009, 3:08 AM


Views: 320
Permalink
[PATCH] ldirectord: allow quotes for config param monitorfile

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

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.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/

Subject User Time
[PATCH] ldirectord: allow quotes for config param monitorfile heder at google Jun 22, 2009, 3:08 AM
    Re: [PATCH] ldirectord: allow quotes for config param monitorfile horms at verge Jun 22, 2009, 7:47 PM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.