File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed
Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -458,10 +458,10 @@ parse_configuration () {
458458 opt_dbstatus=( ' --status' )
459459
460460 [[ " ${CONFIG_mysql_dump_usessl} " = " yes" ]] && {
461- opt=( " ${opt[@]} " ' --ssl-mode' )
462- mysql_opt=( " ${mysql_opt[@]} " ' --ssl-mode' )
463- opt_fullschema=( " ${opt_fullschema[@]} " ' --ssl-mode' )
464- opt_dbstatus=( " ${opt_dbstatus[@]} " ' --ssl-mode' )
461+ opt=( " ${opt[@]} " ' --ssl-mode=PREFERRED ' )
462+ mysql_opt=( " ${mysql_opt[@]} " ' --ssl-mode=PREFERRED ' )
463+ opt_fullschema=( " ${opt_fullschema[@]} " ' --ssl-mode=PREFERRED ' )
464+ opt_dbstatus=( " ${opt_dbstatus[@]} " ' --ssl-mode=PREFERRED ' )
465465 }
466466 [[ " ${CONFIG_mysql_dump_master_data} " ]] && (( ${CONFIG_mysql_dump_master_data} == 1 || ${CONFIG_mysql_dump_master_data} == 2 )) && { opt=( " ${opt[@]} " " --master-data=${CONFIG_mysql_dump_master_data} " ); }
467467 [[ " ${CONFIG_mysql_dump_single_transaction} " = " yes" ]] && {
@@ -2261,5 +2261,4 @@ elif (( $# == 0 )) && (( ${#opt_flags[@]} == 0 )); then
22612261 method_backup
22622262fi
22632263
2264- # END __main
2265- exit 0 # systemd need exit 0
2264+ # END __main
You can’t perform that action at this time.
0 commit comments