删除额外日志

This commit is contained in:
hanhh
2021-05-21 18:54:15 +08:00
parent 12216abcff
commit 4958d700de
3 changed files with 8 additions and 7 deletions
+2 -1
View File
@@ -265,7 +265,7 @@ update_qinglong() {
reset_romote_url ${ql_static_repo} ${url}
git fetch --all
exit_status=$?
git reset --hard origin/master >/dev/null 2>&1
git reset --hard origin/master
else
git_clone_scripts ${url} ${ql_static_repo}
fi
@@ -279,6 +279,7 @@ update_qinglong() {
cp -rf $ql_static_repo/* $dir_root
echo -e "重启面板中..."
nginx -s reload 2>/dev/null || nginx -c /etc/nginx/nginx.conf
sleep 1
pm2 reload all >/dev/null 2>&1
else
echo -e "\n更新$dir_root失败,请检查原因...\n"