mirror of
https://github.com/whyour/qinglong.git
synced 2025-07-10 23:16:07 +08:00
添加重置登录错误次数命令
This commit is contained in:
parent
be908ab36c
commit
f380d20279
|
@ -484,6 +484,12 @@ main() {
|
|||
[[ -f $task_error_log_path ]] && cat $task_error_log_path >>$log_path
|
||||
. $dir_shell/check.sh >>$log_path
|
||||
;;
|
||||
resetlet)
|
||||
echo -e "## 开始执行... $begin_time\n" >>$log_path
|
||||
auth_value=$(cat $file_auth_user | jq '.retries =0' -c)
|
||||
echo -e "重置成功 \n $auth_value" >>$log_path
|
||||
echo "$auth_value" >$file_auth_user
|
||||
;;
|
||||
*)
|
||||
echo -e "命令输入错误...\n"
|
||||
usage
|
||||
|
|
Loading…
Reference in New Issue
Block a user