Fix valid path output

This commit is contained in:
practicalswift 2017-10-09 23:20:52 +02:00
parent 193c2fb4c8
commit 683b9d280b

View file

@ -33,10 +33,11 @@ fi
NO_SHA1=1
PREV_COMMIT=""
INITIAL_COMMIT=${CURRENT_COMMIT}
while true; do
if [ "$CURRENT_COMMIT" = $VERIFIED_ROOT ]; then
echo "There is a valid path from \"$CURRENT_COMMIT\" to $VERIFIED_ROOT where all commits are signed!"
echo "There is a valid path from \"$INITIAL_COMMIT\" to $VERIFIED_ROOT where all commits are signed!"
exit 0
fi