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 () {
458
458
opt_dbstatus=( ' --status' )
459
459
460
460
[[ " ${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 ' )
465
465
}
466
466
[[ " ${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} " ); }
467
467
[[ " ${CONFIG_mysql_dump_single_transaction} " = " yes" ]] && {
@@ -2261,5 +2261,4 @@ elif (( $# == 0 )) && (( ${#opt_flags[@]} == 0 )); then
2261
2261
method_backup
2262
2262
fi
2263
2263
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