From fb9c49f2ce0838baa5f94f4ca03d1c92cb58b306 Mon Sep 17 00:00:00 2001 From: Martin Schwenke Date: Mon, 15 Sep 2014 11:48:33 +1000 Subject: ctdb-util: Log an error if there is no way to set scheduler Although configure should catch this, logging a run-time error is better than being mystified when ctdbd silently exits. Signed-off-by: Martin Schwenke Reviewed-by: Amitay Isaacs --- ctdb/common/system_util.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ctdb/common/system_util.c b/ctdb/common/system_util.c index 8e8f4ac217..6ff82f7147 100644 --- a/ctdb/common/system_util.c +++ b/ctdb/common/system_util.c @@ -77,6 +77,7 @@ bool set_scheduler(void) } #endif #endif + DEBUG(DEBUG_CRIT,("No way to set real-time priority.\n")); return false; } -- cgit