Skip to content

Commit

Permalink
ctdb: use properly configured ctdb in 99.timeout
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Adam <[email protected]>
Reviewed-by: Martin Schwenke <[email protected]>
  • Loading branch information
obnoxxx authored and Martin Schwenke committed Jun 11, 2016
1 parent 0b98c64 commit d9a44ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ctdb/config/events.d/99.timeout
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ loadconfig ctdb

case "$1" in
monitor)
TIMEOUT=$(ctdb getvar EventScriptTimeout | awk '{print $3}')
TIMEOUT=$($CTDB getvar EventScriptTimeout | awk '{print $3}')
echo "sleeping for $((TIMEOUT * 2)) seconds..."
sleep $((TIMEOUT * 2))
;;
Expand Down

0 comments on commit d9a44ae

Please sign in to comment.