CVSROOT:        /cvs/cluster
Module name:    cluster
Branch:         RHEL4
Changes by:     [EMAIL PROTECTED]       2007-11-02 21:08:50

Modified files:
        ccs/ccs_tool   : ccs_tool.c 

Log message:
        BZ 364661 - 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=RHEL4&r1=1.1.2.3&r2=1.1.2.4

--- cluster/ccs/ccs_tool/ccs_tool.c     2007/02/14 10:15:46     1.1.2.3
+++ cluster/ccs/ccs_tool/ccs_tool.c     2007/11/02 21:08:50     1.1.2.4
@@ -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 {

Reply via email to