On 3 Feb 2014, at 11:34 pm, Frank Brendel <frank.bren...@eurolog.com> wrote:

> As far as I know, Pacemaker does not parse STDOUT but it keeps STDERR 
> for logging.
> Experts correct me if I am wrong.

You are correct

[snip]

>> Does nobody have an idea? I checked this link:
>> 
>> http://clusterlabs.org/doc/en-US/Pacemaker/1.1-pcs/html/Pacemaker_Explained/ap-lsb.html
>>  
>> 
>> 
>> This doesn't seem to have anything to do with what pacemaker is 
>> actually checking the status result against though.

$? holds the return code from the command you just ran.
This is the value pacemaker is looking for

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

_______________________________________________
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org

Reply via email to