mirror of
https://github.com/samba-team/samba.git
synced 2025-03-20 22:50:26 +03:00
ctdb-scripts: NFS call-out failures should cause event failure
Failures in startup/shutdown/releaseip/takeip are currently incorrectly ignored. BUG: https://bugzilla.samba.org/show_bug.cgi?id=12837 Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com> (cherry picked from commit 22f2068d456759612d340fdcc56276f39a710426)
This commit is contained in:
parent
c08e05675f
commit
6d5c1f683b
@ -256,20 +256,20 @@ is_ctdb_managed_service || exit 0
|
||||
|
||||
case "$1" in
|
||||
startup)
|
||||
nfs_callout "$@"
|
||||
nfs_callout "$@" || exit $?
|
||||
;;
|
||||
|
||||
shutdown)
|
||||
nfs_callout "$@"
|
||||
nfs_callout "$@" || exit $?
|
||||
;;
|
||||
|
||||
takeip)
|
||||
nfs_callout "$@"
|
||||
nfs_callout "$@" || exit $?
|
||||
ctdb_service_set_reconfigure
|
||||
;;
|
||||
|
||||
releaseip)
|
||||
nfs_callout "$@"
|
||||
nfs_callout "$@" || exit $?
|
||||
ctdb_service_set_reconfigure
|
||||
;;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user