Return after echo

This commit is contained in:
Bob Mottram 2016-12-21 18:44:26 +00:00
parent 86e92e1a80
commit d06fce428a
1 changed files with 4 additions and 0 deletions

View File

@ -94,7 +94,11 @@ function commit_has_changed {
CURRENT_REPO_COMMIT=$(get_completion_param "$repo_commit_name")
if [[ "$CURRENT_REPO_COMMIT" != "$repo_commit" ]]; then
echo "1"
return
fi
else
echo "1"
return
fi
fi
echo "0"