} else {   }
unpack_failed_resource(GListPtr *node_constraints,		       xmlNodePtr rsc_entry, resource_t *rsc_lh, node_t *node){	const char *last_op  = xmlGetProp(rsc_entry, "last_op");	crm_debug("Unpacking failed action %s on %s", last_op, rsc_lh->id);		if(safe_str_eq(last_op, "start")) {		/* not running */		/* do not run the resource here again */		rsc2node_new("dont_run_generate",			     rsc_lh, -1.0, FALSE, node, node_constraints);	} else if(safe_str_eq(last_op, "stop")) {		/* must assume still running */		rsc_lh->cur_node = node;		node->details->running_rsc = g_list_append(			node->details->running_rsc, rsc_lh);		/* remedial action:		 *   shutdown (so all other resources are stopped gracefully)		 *   and then STONITH node		 */		if(node->details->online) {			node->details->shutdown = TRUE;		}		node->details->unclean  = TRUE;		//	} else if(safe_str_eq(last_op, "???")) {	} else {		/* unknown action... */		/* remedial action: ???		 *   shutdown (so all other resources are stopped gracefully)		 *   and then STONITH node		 */	}	return TRUE;}