Skip to content

Commit

Permalink
fix: sh-checker supported errors
Browse files Browse the repository at this point in the history
  • Loading branch information
DDSRem committed Dec 13, 2024
1 parent 588f6bf commit dd29010
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion all_in_one.sh
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ function check_aliyunpan_opentoken() {
if [ -f "$cache_path" ] && [ "$(head -n 1 "$cache_path")" == "$current_hash" ]; then
last_modified=$(date -r "$cache_path" +%s)
current_time=$(date +%s)
difference=$(( (current_time - last_modified) / 60 ))
difference=$(((current_time - last_modified) / 60))
if [ "$difference" -lt 60 ]; then
# 文件未更改且操作在60分钟内已执行,跳过此次执行
return 1
Expand Down

0 comments on commit dd29010

Please sign in to comment.