1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2024-11-22 02:17:26 +00:00

if a migration fails, dont continue setup

This commit is contained in:
Joshua Tauberer 2015-03-29 10:32:17 -04:00
parent d3239b49ce
commit e41df28bf2

View File

@ -27,7 +27,7 @@ export LC_TYPE=en_US.UTF-8
if [ -f /etc/mailinabox.conf ]; then if [ -f /etc/mailinabox.conf ]; then
# Run any system migrations before proceeding. Since this is a second run, # Run any system migrations before proceeding. Since this is a second run,
# we assume we have Python already installed. # we assume we have Python already installed.
setup/migrate.py --migrate setup/migrate.py --migrate || exit 1
# Load the old .conf file to get existing configuration options loaded # Load the old .conf file to get existing configuration options loaded
# into variables with a DEFAULT_ prefix. # into variables with a DEFAULT_ prefix.