diff --git a/smartgears/smartgears/templates/get-scopes.j2 b/smartgears/smartgears/templates/get-scopes.j2 index 248a4bc3..349f242d 100644 --- a/smartgears/smartgears/templates/get-scopes.j2 +++ b/smartgears/smartgears/templates/get-scopes.j2 @@ -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"