mirror of
https://github.com/mrworf/plexupdate.git
synced 2025-08-19 21:03:19 -07:00
Logic is hard is hard
This commit is contained in:
parent
bf1f830aa6
commit
e71570687f
1 changed files with 1 additions and 1 deletions
|
@ -327,7 +327,7 @@ if [ "${AUTOUPDATE}" = "yes" ]; then
|
|||
exit 1
|
||||
fi
|
||||
|
||||
if git fetch --quiet && git diff --quiet FETCH_HEAD; then
|
||||
if git fetch --quiet && ! git diff --quiet FETCH_HEAD; then
|
||||
info "Auto-updating..."
|
||||
if ! git merge --quiet FETCH_HEAD; then
|
||||
error 'Unable to update git, try running "git pull" manually to see what is wrong'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue