[Pacemaker] exit code crm_attibute

Andrey Groshev greenx at yandex.ru
Fri Sep 20 07:53:14 UTC 2013


Hi again!

Today again met a strange behavior.
I asked for a non-existent attribute of an existing node.

# crm_attribute --type nodes --node-uname exist.node.domain.com --attr-name notexistattibute --query  ; echo $?
Could not map name=dev-cluster2-node2.unix.tensor.ru to a UUID
0

That is, to STDERR - swore, but the exit code - 0.




More information about the Pacemaker mailing list