Fix log_error calls

There is no log_error function, these should have been calls to
die() all along...

Change-Id: I6d853711bcf645de5ceb306f980ef654d5fabac5
This commit is contained in:
Dean Troyer 2014-07-25 10:34:11 -05:00
parent d3121f649d
commit 14fd979a81

View File

@ -95,7 +95,7 @@ fi
# ``stackrc`` sources ``localrc`` to allow you to safely override those settings. # ``stackrc`` sources ``localrc`` to allow you to safely override those settings.
if [[ ! -r $TOP_DIR/stackrc ]]; then if [[ ! -r $TOP_DIR/stackrc ]]; then
log_error $LINENO "missing $TOP_DIR/stackrc - did you grab more than just stack.sh?" die $LINENO "missing $TOP_DIR/stackrc - did you grab more than just stack.sh?"
fi fi
source $TOP_DIR/stackrc source $TOP_DIR/stackrc
@ -122,13 +122,13 @@ fi
# templates and other useful files in the ``files`` subdirectory # templates and other useful files in the ``files`` subdirectory
FILES=$TOP_DIR/files FILES=$TOP_DIR/files
if [ ! -d $FILES ]; then if [ ! -d $FILES ]; then
log_error $LINENO "missing devstack/files" die $LINENO "missing devstack/files"
fi fi
# ``stack.sh`` keeps function libraries here # ``stack.sh`` keeps function libraries here
# Make sure ``$TOP_DIR/lib`` directory is present # Make sure ``$TOP_DIR/lib`` directory is present
if [ ! -d $TOP_DIR/lib ]; then if [ ! -d $TOP_DIR/lib ]; then
log_error $LINENO "missing devstack/lib" die $LINENO "missing devstack/lib"
fi fi
# Import common services (database, message queue) configuration # Import common services (database, message queue) configuration