mage2click / docker-magento-mutagen

Mage2click Docker-based development environment for Magento with mutagen.io sync for files on macOS
https://mage2.click
MIT License
68 stars 9 forks source link

Setup Scripts Should Exit on Error or When User Aborts Them #28

Closed davidalger closed 5 years ago

davidalger commented 5 years ago

This PR simply adds set -e to the top of each of the setup scripts so that:

a) They will exit if/when any sub-command encounters an error

b) Setup will immediately stop when a user attempts to abort by typing Ctrl+C (this kills the active sub-command, and set -e allows the unclean exit to bubble up and terminate the parent setup script)

u-maxx commented 5 years ago

Thank you @davidalger!