summaryrefslogtreecommitdiff
path: root/service/container.go
diff options
context:
space:
mode:
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
}