Update update.sh

This commit is contained in:
André Peters authored and GitHub committed 2019-03-12 17:21:45 +01:00
1 parent adf9daa9b7
commit 8f6c24e60a
1 file changed
+1 -1
+1 -1
View File
@@ -66,7 +66,7 @@ while (($#)); do
if [ $? -ne 0 ]; then if [ $? -ne 0 ]; then
echo "A problem occurred while trying to fetch the latest revision from github." echo "A problem occurred while trying to fetch the latest revision from github."
exit 99 exit 99
fi fi
if [[ -z $(git log HEAD --pretty=format:"%H" | grep "${LATEST_REV}") ]]; then if [[ -z $(git log HEAD --pretty=format:"%H" | grep "${LATEST_REV}") ]]; then
echo "Updated code is available." echo "Updated code is available."
exit 0 exit 0