Commit 62d5f7d2 authored by Ad Schellevis's avatar Ad Schellevis

fix squid status check in reconfigure

parent 80e1e6ad
...@@ -102,7 +102,7 @@ class ServiceController extends ApiControllerBase ...@@ -102,7 +102,7 @@ class ServiceController extends ApiControllerBase
$runStatus = $this->statusAction(); $runStatus = $this->statusAction();
if ($runStatus == "running") { if ($runStatus['status'] == "running") {
$backend->sendEvent("service reconfigure proxy"); $backend->sendEvent("service reconfigure proxy");
} else { } else {
$this->startAction(); $this->startAction();
......
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