fix exit code
This commit is contained in:
parent
36dd7409b2
commit
43b590697b
1 changed files with 2 additions and 2 deletions
|
@ -7,8 +7,8 @@ UPSTREAMHASH=$(git rev-parse master@{upstream})
|
||||||
if [ "$HEADHASH" != "$UPSTREAMHASH" ]
|
if [ "$HEADHASH" != "$UPSTREAMHASH" ]
|
||||||
then
|
then
|
||||||
echo "remote has changed"
|
echo "remote has changed"
|
||||||
exit 0
|
exit 1
|
||||||
else
|
else
|
||||||
echo "no change"
|
echo "no change"
|
||||||
exit 1
|
exit 0
|
||||||
fi
|
fi
|
Loading…
Add table
Reference in a new issue