mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2026-08-02 06:52:14 +00:00
Fix update check
This commit is contained in:
parent
d2048ccf20
commit
426b597d02
1 changed files with 1 additions and 1 deletions
|
|
@ -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."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue