diff --git a/cmd/run.go b/cmd/run.go index 9ba4edc..6dfee76 100644 --- a/cmd/run.go +++ b/cmd/run.go @@ -216,6 +216,10 @@ LOOP: } } + if matchedCI == nil { + return cli.NewExitError("Failed to find the container. Maybe try again") + } + ssh := utils.NewSshCommand( matchedCI.PrivateIPAddress, oneoff.District.BastionIP,