From a5083db6938e35b935e193358567e60c6d510d4f Mon Sep 17 00:00:00 2001 From: Kiolow Date: Fri, 7 Jun 2024 13:08:37 +0800 Subject: [PATCH] fix bug --- bin/update_password.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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."