Explorar o código

Fix update check

andryyy %!s(int64=8) %!d(string=hai) anos
pai
achega
426b597d02
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      update.sh

+ 1 - 1
update.sh

@@ -25,7 +25,7 @@ case "${1}" in
 	--check|-c)
 		echo "Checking remote code for updates..."
 		git fetch
-		if ! git diff --quiet --exit-code; then
+		if ! git diff origin/${BRANCH} --quiet; then
 			echo "Updated code is available."
 		else
 			echo "No updates available."