mirror of
https://github.com/whyour/qinglong.git
synced 2026-12-01 01:39:52 +08:00
修复git fetch退出码
This commit is contained in:
1 parent
f70c16be52
commit
989bc51f0d
1 file changed
+2
-1
+2
-1
@@ -263,7 +263,8 @@ update_qinglong() {
|
||||
local url="https://ghproxy.com/https://github.com/whyour/qinglong-static.git"
|
||||
if [ -d ${ql_static_repo}/.git ]; then
|
||||
reset_romote_url ${ql_static_repo} ${url}
|
||||
git fetch
|
||||
git fetch --all
|
||||
exit_status=$?
|
||||
git reset --hard origin/master >/dev/null 2>&1
|
||||
else
|
||||
git_clone_scripts ${url} ${ql_static_repo}
|
||||
|
||||
Reference in new issue
Block a user