mirror of
https://github.com/whyour/qinglong.git
synced 2026-07-01 04:40:38 +08:00
修复repo命令日志文件唯一值
This commit is contained in:
+2
-4
@@ -169,10 +169,8 @@ update_cron() {
|
||||
)
|
||||
code=$(echo $api | jq -r .code)
|
||||
message=$(echo $api | jq -r .message)
|
||||
if [[ $code == 200 ]]; then
|
||||
echo -e "## 更新任务状态成功\n" >> $log_path
|
||||
else
|
||||
echo -e "\n## 更新任务状态失败(${message})" >> $log_path
|
||||
if [[ $code != 200 ]]; then
|
||||
echo -e "\n## 更新任务状态失败(${message})\n" >> $log_path
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user