[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
Changes by:	rohara sourceware org	2007-08-30 16:25:50

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&r1=1.7&r2=1.8

--- cluster/ccs/ccs_tool/ccs_tool.c	2007/08/22 08:58:36	1.7
+++ cluster/ccs/ccs_tool/ccs_tool.c	2007/08/30 16:25:50	1.8
@@ -62,35 +62,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]