1 file changed, 1 insertion(+), 2 deletions(-)
tools/cibadmin.c | 3 +--
# HG changeset patch
# User Andrew Beekhof <[EMAIL PROTECTED]>
# Date 1224774719 -7200
# Node ID 35018d4a2647aae792ec324051539805bc22482d
# Parent 482cdb2b6fb599e929b84ac14bb7510f36c24299
Low: Tools: cibadmin - Don't print the usage when the --force flag is required
diff --git a/tools/cibadmin.c b/tools/cibadmin.c
--- a/tools/cibadmin.c
+++ b/tools/cibadmin.c
@@ -333,8 +333,7 @@ main(int argc, char **argv)
" To prevent accidental destruction of the cluster,"
" the --force flag is required in order to proceed.\n");
fflush(stderr);
- usage(crm_system_name, LSB_EXIT_GENERIC);
-
+ exit(LSB_EXIT_GENERIC);
}
if(admin_input_file != NULL) {
_______________________________________________
Pacemaker mailing list
[email protected]
http://list.clusterlabs.org/mailman/listinfo/pacemaker