cluster/ccs/ccs_tool ccs_tool.c
CVSROOT: /cvs/cluster
Module name: cluster
Branch: RHEL5
Changes by: rohara at 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.
ccs/ccs_tool/ccs_tool.c +8 -8
@@ -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 {