mirror of
https://github.com/vmstan/gravity-sync.git
synced 2024-08-30 18:22:11 +00:00
Testing failure conditions
This commit is contained in:
parent
0b3653fe2d
commit
7b92b90580
@ -890,10 +890,10 @@ function show_version {
|
||||
MESSAGE="Running Version: ${VERSION}"
|
||||
echo_info
|
||||
|
||||
GITVERSION=$(curl -sf https://raw.githubusercontent.com/vmstan/gravity-sync/master/VERSION)
|
||||
GITVERSION=$(curl -sf https://raw.githubusercontent.com/vmstan/gravity-sync/development/VERSION)
|
||||
if [ -z "$GITVERSION" ]
|
||||
then
|
||||
MESSAGE="Latest Version: Unable to Check"
|
||||
MESSAGE="Latest Version: Unknown"
|
||||
else
|
||||
MESSAGE="Latest Version: ${GITVERSION}"
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user