Commit a3b733d9 authored by Geoff Simmons's avatar Geoff Simmons

Prototype v0.5.1: Bugfix (error in the command line for varnishlog)

parent a6bd34ad
......@@ -211,7 +211,7 @@ use Getopt::Std;
use Pod::Usage;
$Getopt::Std::STANDARD_HELP_VERSION = 1;
$main::VERSION = "0.5";
$main::VERSION = "0.5.1";
sub HELP_MESSAGE {
pod2usage(-exit => 0, -verbose => 1);
......@@ -345,7 +345,7 @@ if ($config{debug}) {
my @SHMTAGS = qw(ReqStart VCL_Log ReqEnd);
my $VARNISHLOG_CMD
= $config{'varnish.prefix'}."/bin/varnishlog -i ".join(',', @SHMTAGS);
$VARNISHLOG_CMD .= '-n '.$config{'varnish.name'} if $config{'varnish.name'};
$VARNISHLOG_CMD .= ' -n '.$config{'varnish.name'} if $config{'varnish.name'};
use constant {
DEBUG => 0,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment