From 58e27984ed1b577743ef0c94152791bd36f9441a Mon Sep 17 00:00:00 2001 From: Hugo Ho Date: Wed, 14 Mar 2018 11:09:04 -0700 Subject: [PATCH] discern error message --- src/application/runner/index.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/application/runner/index.go b/src/application/runner/index.go index 10fd5e250..661d73547 100644 --- a/src/application/runner/index.go +++ b/src/application/runner/index.go @@ -4,6 +4,7 @@ import ( "os" "os/signal" "path" + "strings" "github.com/Originate/exosphere/src/docker/composerunner" "github.com/Originate/exosphere/src/types/context" @@ -42,6 +43,9 @@ func Run(options RunOptions) error { }() <-doneChannel _ = composerunner.Shutdown(runOptions) + if strings.Contains(err.Error(), "exit status") { + return nil + } return err }