mirror of
https://github.com/openwrt-xiaomi/builder.git
synced 2025-12-12 17:44:29 +05:00
xupdate: Check result of git pull
This commit is contained in:
@@ -37,7 +37,7 @@ git fetch
|
||||
[ "$?" != "0" ] && die "Can't fetch current repository"
|
||||
|
||||
git pull --force "origin" &> /dev/null
|
||||
#[ "$?" != "0" ] && die "Can't pull current repository"
|
||||
[ "$?" != "0" ] && die "Can't pull current repository"
|
||||
|
||||
CUR_BRANCH=$( git rev-parse --abbrev-ref HEAD )
|
||||
|
||||
|
||||
Reference in New Issue
Block a user