fix exit code

This commit is contained in:
Yax 2021-02-02 12:52:10 +01:00
parent 36dd7409b2
commit 43b590697b

View file

@ -7,8 +7,8 @@ UPSTREAMHASH=$(git rev-parse master@{upstream})
if [ "$HEADHASH" != "$UPSTREAMHASH" ]
then
echo "remote has changed"
exit 0
exit 1
else
echo "no change"
exit 1
exit 0
fi