amend to only fix

This commit is contained in:
elianddb
2025-11-10 12:55:48 -05:00
parent 56e2213301
commit df97c884dc
2 changed files with 8 additions and 31 deletions
+1 -5
View File
@@ -394,11 +394,7 @@ _main() {
# if there is a single yaml provided in /etc/dolt/servercfg.d directory,
# it will be used to start the server with --config flag.
get_config_file_path_if_exists "$DOLT_CONFIG_DIR" "yaml"
if [ -z "$CONFIG_PROVIDED" ]; then
get_config_file_path_if_exists "$SERVER_CONFIG_DIR" "yaml"
fi
get_config_file_path_if_exists "$SERVER_CONFIG_DIR" "yaml"
if [ -n "$CONFIG_PROVIDED" ]; then
set -- "$@" --config="$CONFIG_PROVIDED"
fi