mirror of
https://github.com/pyenv/pyenv.git
synced 2024-11-21 20:47:00 -05:00
Exit with 0 status when a version file is read successfully
This commit is contained in:
parent
96679b7715
commit
e5c0fd22e1
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ if [ -e "$VERSION_FILE" ]; then
|
|||
version="${words[0]}"
|
||||
if [ -n "$version" ]; then
|
||||
echo "$version"
|
||||
break
|
||||
exit
|
||||
fi
|
||||
done < <( cat "$VERSION_FILE" && echo )
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue