fix bug
This commit is contained in:
parent
b887abc50a
commit
a5083db693
@ -30,7 +30,7 @@ new_password=$(gen_random_pass 16)
|
|||||||
config_file="$script_dir/../config.json"
|
config_file="$script_dir/../config.json"
|
||||||
|
|
||||||
# 使用jq_util.sh中的modify_json_file函数修改config.json文件中的auth.password字段
|
# 使用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 "New password: $new_password"
|
||||||
echo "config.json file updated with new password."
|
echo "config.json file updated with new password."
|
||||||
Loading…
Reference in New Issue
Block a user