Skip to content

Commit 14fd979

Browse files
author
Dean Troyer
committed
Fix log_error calls
There is no log_error function, these should have been calls to die() all along... Change-Id: I6d853711bcf645de5ceb306f980ef654d5fabac5
1 parent d3121f6 commit 14fd979

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎stack.sh‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ fi
9595
# ``stackrc`` sources ``localrc`` to allow you to safely override those settings.
9696

9797
if [[ ! -r $TOP_DIR/stackrc ]]; then
98-
log_error $LINENO "missing $TOP_DIR/stackrc - did you grab more than just stack.sh?"
98+
die $LINENO "missing $TOP_DIR/stackrc - did you grab more than just stack.sh?"
9999
fi
100100
source $TOP_DIR/stackrc
101101

@@ -122,13 +122,13 @@ fi
122122
# templates and other useful files in the ``files`` subdirectory
123123
FILES=$TOP_DIR/files
124124
if [ ! -d $FILES ]; then
125-
log_error $LINENO "missing devstack/files"
125+
die $LINENO "missing devstack/files"
126126
fi
127127

128128
# ``stack.sh`` keeps function libraries here
129129
# Make sure ``$TOP_DIR/lib`` directory is present
130130
if [ ! -d $TOP_DIR/lib ]; then
131-
log_error $LINENO "missing devstack/lib"
131+
die $LINENO "missing devstack/lib"
132132
fi
133133

134134
# Import common services (database, message queue) configuration

0 commit comments

Comments
 (0)