library/roles/smartgears/smartgears/templates/get-scopes.j2: Do not fail when there is no token and the node must run on all the VOs.

This commit is contained in:
Andrea Dell'Amico 2017-10-03 12:30:47 +02:00
parent 678f74dafa
commit bb158fce51
1 changed files with 2 additions and 2 deletions

View File

@ -24,8 +24,8 @@ if [ $# -eq 0 ] ; then
if [ -f $SMARTGEARS_RUNNING_STATE_FILE ] ; then
if [ "$SMARTGEARS_VO_AUTH" == 'true' ] ; then
# - The node must run on all VOs
logger "$LOG_PREFIX When the node must run on all the VOs a valid token is mandatory, aborting"
exit 1
logger "$LOG_PREFIX When the node must run on all the VOs a valid token is mandatory, aborting without doing anything"
exit 0
fi
USE_SAVED_STATE=0
echo "No token, assuming that we can use the local state"