terra-ops / terra-cli

The Terra Command Line Interface
http://terra.readthedocs.org
GNU General Public License v2.0
48 stars 17 forks source link

Inaccurate reporting when env:enable fails #30

Closed nateswart closed 9 years ago

nateswart commented 9 years ago

If terra env:enable fails the process continues to run and claims the environment was enabled. For instance, I received this error:

DOCKER > Couldn't connect to Docker daemon - you might need to run 'boot2docker up'.

But then subsequently received the following output:

Environment enabled! Available at http://mysite.local.Macintosh.local and http://localhost: Write a drush alias file to /Users/nate/.drush/mysite.aliases.drushrc.php ?

It seems as though the process should exit on a failure.

jonpugh commented 9 years ago

Thanks for working on that! Merged.