Exit with error if any of the setup steps fail

This commit is contained in:
Sunil Mohan Adapa authored and James Valleroy committed 2016-08-31 16:59:12 -04:00
1 parent 8bf797d17c
commit b69720e0d4
3 files changed
+7

No files matched your search

@@ -16,6 +16,9 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
# Exit with an error code on any failure
set -e
# Enable tracing to see the commands in
# /var/log/freedombox-first-run.log
set -x
@@ -16,6 +16,8 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
set -e
# Enable Apache modules required for Plinth.
echo "Configuring Apache for Plinth..."