File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -94,7 +94,7 @@ docker_get_config() {
9494docker_start_server () {
9595 result=0
9696 %%SERVERSTARTUP%%
97- if [ ! " $result " = " 0" ]; then
97+ if [ " $result " ! = " 0" ]; then
9898 docker_error " Unable to start server. Status code $result ."
9999 fi
100100}
@@ -119,7 +119,7 @@ docker_wait_for_server() {
119119docker_stop_server () {
120120 result=0
121121 mysqladmin --defaults-extra-file=" ${PASSFILE} " shutdown -uroot --socket=" ${SOCKET} " || result=$?
122- if [ ! " $result " = " 0" ]; then
122+ if [ " $result " ! = " 0" ]; then
123123 docker_error " Unable to shut down server. Status code $result ."
124124 fi
125125}
@@ -324,6 +324,6 @@ docker_main() {
324324}
325325# This checks if the script has been sourced from elsewhere.
326326# If so we don't perform any further actions
327- if [ ! " ${FUNCNAME[${#FUNCNAME[@]} - 1]}" = ' source' ]; then
327+ if [ " ${FUNCNAME[${#FUNCNAME[@]} - 1]}" ! = ' source' ]; then
328328 docker_main " $@ "
329329fi
You can’t perform that action at this time.
0 commit comments