Re: [ClusterLabs] On the semantics of ocf_exit_reason()

2019-07-23 Thread Ken Gaillot
On Tue, 2019-07-23 at 08:17 +0200, Ulrich Windl wrote: > Hi! > > As suggested I'm considering to replace all "ocf_log err ..." > preceeding an error exit code with "ocf_exit_reason ..." in my OCF > RA. > However I have a question: Is it OK to call ocf_exit_reason more than > once before actually

[ClusterLabs] On the semantics of ocf_exit_reason()

2019-07-23 Thread Ulrich Windl
Hi! As suggested I'm considering to replace all "ocf_log err ..." preceeding an error exit code with "ocf_exit_reason ..." in my OCF RA. However I have a question: Is it OK to call ocf_exit_reason more than once before actually exiting? I assume the last message being used will be the one