From dbd1759eae8f701ef3fede0ff5f5e3f61e995c38 Mon Sep 17 00:00:00 2001 From: Martin Schwenke Date: Sun, 30 Jun 2013 17:42:11 +1000 Subject: util: New function ctdb_die() This is like ctdb_fatal() but exits cleanly without dumping core or generating a backtrace. Signed-off-by: Martin Schwenke (This used to be ctdb commit c0a9456692c88a7a5542cd893d8f326524d3f94e) --- ctdb/include/ctdb_private.h | 1 + 1 file changed, 1 insertion(+) (limited to 'ctdb/include/ctdb_private.h') diff --git a/ctdb/include/ctdb_private.h b/ctdb/include/ctdb_private.h index 05109acb6d2..1939f07cceb 100644 --- a/ctdb/include/ctdb_private.h +++ b/ctdb/include/ctdb_private.h @@ -725,6 +725,7 @@ struct ctdb_fetch_handle { /* internal prototypes */ void ctdb_set_error(struct ctdb_context *ctdb, const char *fmt, ...) PRINTF_ATTRIBUTE(2,3); void ctdb_fatal(struct ctdb_context *ctdb, const char *msg); +void ctdb_die(struct ctdb_context *ctdb, const char *msg); void ctdb_external_trace(void); bool ctdb_same_address(struct ctdb_address *a1, struct ctdb_address *a2); int ctdb_parse_address(struct ctdb_context *ctdb, -- cgit