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" ]
|
||||
then
|
||||
echo "remote has changed"
|
||||
exit 0
|
||||
exit 1
|
||||
else
|
||||
echo "no change"
|
||||
exit 1
|
||||
exit 0
|
||||
fi
|
Loading…
Add table
Reference in a new issue