1
0
mirror of https://github.com/mailcow/mailcow-dockerized.git synced 2024-12-27 02:43:38 +02:00

Fix update check

This commit is contained in:
andryyy 2017-06-29 21:24:07 +02:00
parent d2048ccf20
commit 426b597d02

View File

@ -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."