diff --git a/ctdb/config/events.d/99.timeout b/ctdb/config/events.d/99.timeout index 2a6495a6193..c18475fec64 100755 --- a/ctdb/config/events.d/99.timeout +++ b/ctdb/config/events.d/99.timeout @@ -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)) ;;