if(safe_str_neq(interval, "0")) {
if(interval != NULL && safe_str_neq(interval, "0")) {
should_dump_action(action_t *action) {	const char * interval = g_hash_table_lookup(action->extra, "interval");		if(action == NULL) {		pe_err("Cannot dump NULL action");		return FALSE;	} else if(action->optional) {		crm_debug_5("action %d was optional", action->id);		return FALSE;	} else if(action->pseudo == FALSE && action->runnable == FALSE) {		crm_debug_5("action %d was not runnable", action->id);		return FALSE;	} else if(action->dumped) {		crm_debug_5("action %d was already dumped", action->id);		return FALSE;	} else if(action->rsc != NULL		  && action->rsc->is_managed == FALSE) {		/* make sure probes go through */		if(safe_str_neq(action->task, CRMD_ACTION_STATUS)) {			pe_warn("action %d (%s) was for an unmanaged resource (%s)",				action->id, action->uuid, action->rsc->id);			return FALSE;		}				if(safe_str_neq(interval, "0")) {			pe_warn("action %d (%s) was for an unmanaged resource (%s)",				action->id, action->uuid, action->rsc->id);			return FALSE;		}	}		if(action->pseudo	   || safe_str_eq(action->task,  CRM_OP_FENCE)	   || safe_str_eq(action->task,  CRM_OP_SHUTDOWN)) {		/* skip the next two checks */		return TRUE;	}	if(action->node == NULL) {		pe_err("action %d (%s) was not allocated",		       action->id, action->uuid);		log_action(LOG_DEBUG, "Unallocated action", action, FALSE);		return FALSE;			} else if(action->node->details->online == FALSE) {		pe_err("action %d was (%s) scheduled for offline node",		       action->id, action->uuid);		log_action(LOG_DEBUG, "Action for offline node", action, FALSE);		return FALSE;	}	return TRUE;}