diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/start-memcached | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/start-memcached b/scripts/start-memcached index 8b64a20..164c9bd 100755 --- a/scripts/start-memcached +++ b/scripts/start-memcached @@ -62,7 +62,7 @@ if(open $etchandle, $etcfile) foreach my $line (<$etchandle>) { $line ||= ""; - $line =~ s/\#.*//g; + $line =~ s/(?<!\\)\#[^\#]*//g; $line =~ s/\s+$//g; $line =~ s/^\s+//g; next unless $line; |