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

[Cluster-devel] cluster/ccs/ccs_tool ccs_tool.c



CVSROOT:	/cvs/cluster
Module name:	cluster
Branch: 	RHEL5
Changes by:	rohara sourceware org	2007-08-30 16:26:42

Modified files:
	ccs/ccs_tool   : ccs_tool.c 

Log message:
	BZ 249781 - Fix ccs_tool to return EXIT_SUCCESS for most commands.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/ccs/ccs_tool/ccs_tool.c.diff?cvsroot=cluster&only_with_tag=RHEL5&r1=1.5&r2=1.5.2.1

--- cluster/ccs/ccs_tool/ccs_tool.c	2006/09/19 13:17:04	1.5
+++ cluster/ccs/ccs_tool/ccs_tool.c	2007/08/30 16:26:42	1.5.2.1
@@ -56,35 +56,35 @@
 
     else if(!strcmp(argv[optind], "addnode")){
 	    add_node(argc-1, argv+1);
-	    exit(EXIT_FAILURE);
+	    exit(EXIT_SUCCESS);
     }
     else if(!strcmp(argv[optind], "delnode")){
 	    del_node(argc-1, argv+1);
-	    exit(EXIT_FAILURE);
+	    exit(EXIT_SUCCESS);
     }
     else if(!strcmp(argv[optind], "addfence")){
 	    add_fence(argc-1, argv+1);
-	    exit(EXIT_FAILURE);
+	    exit(EXIT_SUCCESS);
     }
     else if(!strcmp(argv[optind], "delfence")){
 	    del_fence(argc-1, argv+1);
-	    exit(EXIT_FAILURE);
+	    exit(EXIT_SUCCESS);
     }
     else if(!strcmp(argv[optind], "lsnode")){
 	    list_nodes(argc-1, argv+1);
-	    exit(EXIT_FAILURE);
+	    exit(EXIT_SUCCESS);
     }
     else if(!strcmp(argv[optind], "lsfence")){
 	    list_fences(argc-1, argv+1);
-	    exit(EXIT_FAILURE);
+	    exit(EXIT_SUCCESS);
     }
     else if(!strcmp(argv[optind], "create")){
 	    create_skeleton(argc-1, argv+1);
-	    exit(EXIT_FAILURE);
+	    exit(EXIT_SUCCESS);
     }
     else if(!strcmp(argv[optind], "addnodeids")){
 	    add_nodeids(argc-1, argv+1);
-	    exit(EXIT_FAILURE);
+	    exit(EXIT_SUCCESS);
     }
 
     else {


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