Browse code

Revert "Exit when printing error about database config"

This reverts commit 2d7c346f0c8cefe622edc8fed47cc2782aeb9a9b.

Not setting DATABASE_TYPE is not a fatal error since it is
valid to create nodes which only run a subset of services,
and so a database may not be needed.

Change-Id: I7d957e628141ba333b6f38940b39845b18fba4df

Daniel P. Berrange authored on 2015/02/12 02:25:32
Showing 1 changed files
... ...
@@ -584,7 +584,7 @@ function read_password {
584 584
 # The available database backends are listed in ``DATABASE_BACKENDS`` after
585 585
 # ``lib/database`` is sourced. ``mysql`` is the default.
586 586
 
587
-initialize_database_backends && echo "Using $DATABASE_TYPE database backend" || die $LINENO "No database enabled"
587
+initialize_database_backends && echo "Using $DATABASE_TYPE database backend" || echo "No database enabled"
588 588
 
589 589
 
590 590
 # Queue Configuration