]> err.no Git - varnish/commitdiff
Nit in previous commit
authordes <des@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Mon, 20 Aug 2007 10:10:19 +0000 (10:10 +0000)
committerdes <des@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Mon, 20 Aug 2007 10:10:19 +0000 (10:10 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1879 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-tools/regress/lib/Varnish/Test/Varnish.pm

index d2af5e215f2b66d584cac274e08aa43ccb098e21..e1eca1ad26afa71334d9cebb5792dce50e5bb7f8 100644 (file)
@@ -240,7 +240,7 @@ sub stop_child($) {
     die "already stopped\n"
        if $self->{'state'} eq 'stopped';
 
-    $self->{'state'} eq 'stopping';
+    $self->{'state'} = 'stopping';
     my ($code, $text) = $self->send_command("stop");
     for (my $n = 0; $n < 10; ++$n) {
        my ($code, $text) = $self->send_command('status');