[ClusterLabs] Approach to validate on stop op (Was Re: crmsh configure delete for constraints)

Vladislav Bogdanov bubble at hoster-ok.com
Tue Mar 29 12:55:55 UTC 2016


29.03.2016 15:28, Vladislav Bogdanov wrote:
[...]
>      *) # monitor | notify | reload | etc
>          validate
>          ret=$?
>          if [ ${ret} -ne $OCF_SUCCESS ] ; then
>              if ocf_is_probe ; then
>                  exit $OCF_NOT_RUNNING
>              fi
>              exit $?

Of course it is exit ${ret}

>          fi
>          ;;







More information about the Users mailing list