commit 583197a0748aaef3dca09fe45cdac30f75304947 Author: Andrew Beekhof Date: Thu Apr 10 19:55:26 2014 +1000 Correctly warn about fencing when fencing is disabled diff --git a/lib/pengine/complex.c b/lib/pengine/complex.c index a3133e7..225b269 100644 --- a/lib/pengine/complex.c +++ b/lib/pengine/complex.c @@ -574,7 +574,7 @@ common_unpack(xmlNode * xml_obj, resource_t ** rsc, } else if (safe_str_eq(value, "fencing")) { set_bit((*rsc)->flags, pe_rsc_needs_fencing); - if (is_set(data_set->flags, pe_flag_stonith_enabled)) { + if (is_not_set(data_set->flags, pe_flag_stonith_enabled)) { crm_config_warn("%s requires fencing but fencing is disabled", (*rsc)->id); }