Fix valid path output
This commit is contained in:
parent
193c2fb4c8
commit
683b9d280b
1 changed files with 2 additions and 1 deletions
|
@ -33,10 +33,11 @@ fi
|
||||||
|
|
||||||
NO_SHA1=1
|
NO_SHA1=1
|
||||||
PREV_COMMIT=""
|
PREV_COMMIT=""
|
||||||
|
INITIAL_COMMIT=${CURRENT_COMMIT}
|
||||||
|
|
||||||
while true; do
|
while true; do
|
||||||
if [ "$CURRENT_COMMIT" = $VERIFIED_ROOT ]; then
|
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
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue