File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -94,7 +94,7 @@ docker_get_config() {
94
94
docker_start_server () {
95
95
result=0
96
96
%%SERVERSTARTUP%%
97
- if [ ! " $result " = " 0" ]; then
97
+ if [ " $result " ! = " 0" ]; then
98
98
docker_error " Unable to start server. Status code $result ."
99
99
fi
100
100
}
@@ -119,7 +119,7 @@ docker_wait_for_server() {
119
119
docker_stop_server () {
120
120
result=0
121
121
mysqladmin --defaults-extra-file=" ${PASSFILE} " shutdown -uroot --socket=" ${SOCKET} " || result=$?
122
- if [ ! " $result " = " 0" ]; then
122
+ if [ " $result " ! = " 0" ]; then
123
123
docker_error " Unable to shut down server. Status code $result ."
124
124
fi
125
125
}
@@ -324,6 +324,6 @@ docker_main() {
324
324
}
325
325
# This checks if the script has been sourced from elsewhere.
326
326
# If so we don't perform any further actions
327
- if [ ! " ${FUNCNAME[${#FUNCNAME[@]} - 1]}" = ' source' ]; then
327
+ if [ " ${FUNCNAME[${#FUNCNAME[@]} - 1]}" ! = ' source' ]; then
328
328
docker_main " $@ "
329
329
fi
You can’t perform that action at this time.
0 commit comments