1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00

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 <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
This commit is contained in:
Martin Schwenke 2014-09-15 11:48:33 +10:00 committed by Martin Schwenke
parent 6ce6262014
commit fb9c49f2ce

View File

@ -77,6 +77,7 @@ bool set_scheduler(void)
}
#endif
#endif
DEBUG(DEBUG_CRIT,("No way to set real-time priority.\n"));
return false;
}