Skip to content

Commit

Permalink
High: crmd: Correctly determine when a node can suicide with fencing
Browse files Browse the repository at this point in the history
  • Loading branch information
Yuusuke Iida authored and beekhof committed Mar 19, 2012
1 parent 8d398ee commit 1192d95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crmd/te_actions.c
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ te_fence_node(crm_graph_t * graph, crm_action_t * action)
/* Passing NULL means block until we can connect... */
te_connect_stonith(NULL);

if (finalized_nodes && g_hash_table_size(finalized_nodes) == 1) {
if (confirmed_nodes && g_hash_table_size(confirmed_nodes) == 1) {
options |= st_opt_allow_suicide;
}

Expand Down

0 comments on commit 1192d95

Please sign in to comment.