Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
EOF
required_result 0 <<EOF
+Setting obsolete tunable variable 'EventScriptUnhealthyOnTimeout'
Set EventScriptUnhealthyOnTimeout to 0
Set MonitorInterval to 5
EOF
for _i in $FAKE_CTDB_TUNABLES_OBSOLETE ; do
if [ "$_var" = "$_i" ] ; then
+ echo "Setting obsolete tunable variable '${_var}'"
return 0
fi
done
DEBUG(DEBUG_ERR, ("Unable to set tunable variable '%s'\n", name));
return -1;
}
+ if (ret == 1) {
+ DEBUG(DEBUG_WARNING,
+ ("Setting obsolete tunable variable '%s'\n",
+ name));
+ }
return 0;
}