]> git.proxmox.com Git - pve-cluster.git/commit
pmxcfs sync: properly check for corosync error
authorFabian Grünbichler <f.gruenbichler@proxmox.com>
Fri, 25 Sep 2020 12:53:49 +0000 (14:53 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 25 Sep 2020 13:16:41 +0000 (15:16 +0200)
commit38fde8ccc3b177e882fc91a1141a213e200452a2
treeb35b0907c05d96fb71055ae59209789219d981a7
parent1e0c6aff96059b61791cd30ea12c5382ad9f7006
pmxcfs sync: properly check for corosync error

dfsm_send_state_message_full always returns != 0, since it returns
cs_error_t which starts with CS_OK at 1, with values >1 representing
errors.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
data/src/dfsm.c