1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

ctdb: use properly configured ctdb in 99.timeout

Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Martin Schwenke <martin@meltin.net>
This commit is contained in:
Michael Adam 2016-06-08 13:05:03 +02:00 committed by Martin Schwenke
parent 0b98c64646
commit d9a44ae4bf

View File

@ -14,7 +14,7 @@ loadconfig ctdb
case "$1" in case "$1" in
monitor) monitor)
TIMEOUT=$(ctdb getvar EventScriptTimeout | awk '{print $3}') TIMEOUT=$($CTDB getvar EventScriptTimeout | awk '{print $3}')
echo "sleeping for $((TIMEOUT * 2)) seconds..." echo "sleeping for $((TIMEOUT * 2)) seconds..."
sleep $((TIMEOUT * 2)) sleep $((TIMEOUT * 2))
;; ;;