Browse code

Fix log_error calls

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

Change-Id: I6d853711bcf645de5ceb306f980ef654d5fabac5

Dean Troyer authored on 2014/07/26 00:34:11
Showing 1 changed files
... ...
@@ -95,7 +95,7 @@ fi
95 95
 # ``stackrc`` sources ``localrc`` to allow you to safely override those settings.
96 96
 
97 97
 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?"
99 99
 fi
100 100
 source $TOP_DIR/stackrc
101 101
 
... ...
@@ -122,13 +122,13 @@ fi
122 122
 # templates and other useful files in the ``files`` subdirectory
123 123
 FILES=$TOP_DIR/files
124 124
 if [ ! -d $FILES ]; then
125
-    log_error $LINENO "missing devstack/files"
125
+    die $LINENO "missing devstack/files"
126 126
 fi
127 127
 
128 128
 # ``stack.sh`` keeps function libraries here
129 129
 # Make sure ``$TOP_DIR/lib`` directory is present
130 130
 if [ ! -d $TOP_DIR/lib ]; then
131
-    log_error $LINENO "missing devstack/lib"
131
+    die $LINENO "missing devstack/lib"
132 132
 fi
133 133
 
134 134
 # Import common services (database, message queue) configuration