1 file changed, 2 insertions(+), 2 deletions(-)
tools/cib_shadow.c | 4 ++--
# HG changeset patch
# User Andrew Beekhof <[EMAIL PROTECTED]>
# Date 1226505199 -3600
# Branch stable-1.0
# Node ID 6ef01bc882327f8f29b0ac3f062cc180c8d404a6
# Parent 5d5e88c4c7310fd96bf6d8f15ece8e075c260671
Low: Tools: Don't print usage when the --force option is required
diff --git a/tools/cib_shadow.c b/tools/cib_shadow.c
--- a/tools/cib_shadow.c
+++ b/tools/cib_shadow.c
@@ -261,7 +261,7 @@ main(int argc, char **argv)
" To prevent accidental destruction of the cluster,"
" the --force flag is required in order to proceed.\n", shadow, local);
fflush(stderr);
- usage(crm_system_name, LSB_EXIT_GENERIC);
+ exit(LSB_EXIT_GENERIC);
}
}
@@ -270,7 +270,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);
}
shadow_file = get_shadow_file(shadow);
_______________________________________________
Pacemaker mailing list
[email protected]
http://list.clusterlabs.org/mailman/listinfo/pacemaker