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:
parent
0b98c64646
commit
d9a44ae4bf
@ -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))
|
||||||
;;
|
;;
|
||||||
|
Loading…
Reference in New Issue
Block a user