diff --git a/bin/update_password.sh b/bin/update_password.sh index e32a1ff..512b38e 100644 --- a/bin/update_password.sh +++ b/bin/update_password.sh @@ -30,7 +30,7 @@ new_password=$(gen_random_pass 16) config_file="$script_dir/../config.json" # 使用jq_util.sh中的modify_json_file函数修改config.json文件中的auth.password字段 -modify_json_file "$config_file" '.auth.password' "$new_password" +modify_json_file "$config_file" 'auth.password' "$new_password" echo "New password: $new_password" -echo "config.json file updated with new password." \ No newline at end of file +echo "config.json file updated with new password."