summaryrefslogtreecommitdiffstats
path: root/daemons/controld/pacemaker-controld.c
diff options
context:
space:
mode:
Diffstat (limited to 'daemons/controld/pacemaker-controld.c')
-rw-r--r--daemons/controld/pacemaker-controld.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemons/controld/pacemaker-controld.c b/daemons/controld/pacemaker-controld.c
index 5858898..e4a72c2 100644
--- a/daemons/controld/pacemaker-controld.c
+++ b/daemons/controld/pacemaker-controld.c
@@ -112,7 +112,7 @@ main(int argc, char **argv)
goto done;
}
- if (crm_ipc_connect(old_instance)) {
+ if (pcmk__connect_generic_ipc(old_instance) == pcmk_rc_ok) {
/* IPC end-point already up */
crm_ipc_close(old_instance);
crm_ipc_destroy(old_instance);