Browse Source

fix: NoticeError if-statement logic should be inverted

Amir Khan 9 months ago
parent
commit
4bce96666c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      psiphon/controller.go

+ 1 - 1
psiphon/controller.go

@@ -3028,7 +3028,7 @@ func (controller *Controller) runInproxyProxy() {
 		if useUpstreamProxy {
 			NoticeError("inproxy proxy: not run due to upstream proxy configuration")
 		}
-		if haveBrokerSpecs {
+		if !haveBrokerSpecs {
 			NoticeError("inproxy proxy: no proxy broker specs")
 		}
 		if !inproxy.Enabled() {