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

Eventscript functions: ctdb_service_check-reconfigure() acts only on monitor.

Signed-off-by: Martin Schwenke <martin@meltin.net>

(This used to be ctdb commit beabf506a5eb68fc50fdbf8772c1d2bb0f7951e3)
This commit is contained in:
Martin Schwenke 2010-12-16 09:50:44 +11:00
parent cd4074d2f8
commit 217edfa1c8

View File

@ -683,6 +683,8 @@ service_reconfigure ()
ctdb_service_check_reconfigure ()
{
[ "$event_name" = "monitor" ] || return 0
if ctdb_service_needs_reconfigure "$@" ; then
ctdb_service_reconfigure "$@"
exit 0