summaryrefslogtreecommitdiff
path: root/service/container.go
diff options
context:
space:
mode:
authorWolfy-J <[email protected]>2018-06-14 14:53:44 +0300
committerWolfy-J <[email protected]>2018-06-14 14:53:44 +0300
commitce141854e4959ceca9cde55dc5053e625696c78d (patch)
treeadf5ba3fd8d536ec7eccac497d043a779f8301b6 /service/container.go
parent684e52fb5ef2979e4ce09a84d60c7c87781b08f3 (diff)
incorrect memory stats on macs (wtf apple), cookie value unescape
Diffstat (limited to 'service/container.go')
-rw-r--r--service/container.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/service/container.go b/service/container.go
index ce9146bc..9eaba781 100644
--- a/service/container.go
+++ b/service/container.go
@@ -150,7 +150,7 @@ func (c *container) Serve() error {
result := <-done
// found an error in one of the services, stopping the rest of running services.
- if err, ok := result.(error); ok {
+ if err := result.(error); err != nil {
c.Stop()
return err
}