else if(this_subsys->pid > 0 && CL_PID_EXISTS(this_subsys->pid)) {
else { int lpc = CLIENT_EXIT_WAIT;
do_te_control(long long action,	      enum crmd_fsa_cause cause,	      enum crmd_fsa_state cur_state,	      enum crmd_fsa_input current_input,	      void *data){	enum crmd_fsa_input result = I_NULL;	struct crm_subsystem_s *this_subsys = te_subsystem;		long long stop_actions = A_TE_STOP;	long long start_actions = A_TE_START;		FNIN();	if(action & stop_actions) {		clear_bit_inplace(&fsa_input_register,R_TE_CONNECTED);/* 		if(cur_state != S_STOPPING *//* 		   && is_set(fsa_input_register, R_TE_PEND)) { *//* 			result = I_WAIT_FOR_EVENT; *//* 			FNRET(result); *//* 		} */				if(stop_subsystem(this_subsys) == FALSE)			result = I_FAIL;		else if(this_subsys->pid > 0			&& CL_PID_EXISTS(this_subsys->pid)) {			int pid_status = -1;						sleep(CLIENT_EXIT_WAIT);			waitpid(this_subsys->pid, &pid_status, WNOHANG);						if(CL_PID_EXISTS(this_subsys->pid)) {				cl_log(LOG_ERR,				       "Process %s is still active with pid=%d",				       this_subsys->command, this_subsys->pid);				result = I_FAIL;			}		}	}	if(action & start_actions) {		if(cur_state != S_STOPPING) {			if(start_subsystem(this_subsys) == FALSE)				result = I_FAIL;		} else {			cl_log(LOG_INFO,			       "Ignoring request to start %s while shutting down",			       this_subsys->command);		}	}	FNRET(result);}