Re: [PATCH 3/9] quorumtool: fix return code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Reviewed-by: Steven Dake <sdake@xxxxxxxxxx>

On 02/07/2012 03:22 AM, Fabio M. Di Nitto wrote:
> From: "Fabio M. Di Nitto" <fdinitto@xxxxxxxxxx>
> 
> Signed-off-by: Fabio M. Di Nitto <fdinitto@xxxxxxxxxx>
> ---
> :100644 100644 f81fff7... 2b8c136... M	tools/corosync-quorumtool.c
>  tools/corosync-quorumtool.c |    5 +----
>  1 files changed, 1 insertions(+), 4 deletions(-)
> 
> diff --git a/tools/corosync-quorumtool.c b/tools/corosync-quorumtool.c
> index f81fff7..2b8c136 100644
> --- a/tools/corosync-quorumtool.c
> +++ b/tools/corosync-quorumtool.c
> @@ -434,10 +434,7 @@ static int monitor_status(nodeid_format_t nodeid_format, name_format_t name_form
>  	}
>  
>  quorum_err:
> -	if (err != CS_OK) {
> -		return -1;
> -	}
> -	return g_quorate;
> +	return -1;
>  }
>  
>  static int show_nodes(nodeid_format_t nodeid_format, name_format_t name_format)

_______________________________________________
discuss mailing list
discuss@xxxxxxxxxxxx
http://lists.corosync.org/mailman/listinfo/discuss


[Index of Archives]     [Linux Clusters]     [Corosync Project]     [Linux USB Devel]     [Linux Audio Users]     [Photo]     [Yosemite News]    [Yosemite Photos]    [Linux Kernel]     [Linux SCSI]     [X.Org]

  Powered by Linux