From: Martin Schwenke Date: Wed, 29 Jun 2016 07:47:12 +0000 (+1000) Subject: ctdb-scripts: Fix incorrect variable reference X-Git-Tag: tdb-1.3.10~487 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=eabeecb45322747d7daeb2a79ac213f17eb049da;p=thirdparty%2Fsamba.git ctdb-scripts: Fix incorrect variable reference Signed-off-by: Martin Schwenke Reviewed-by: Amitay Isaacs --- diff --git a/ctdb/config/events.d/05.system b/ctdb/config/events.d/05.system index 13f8837a17c..2dbfca52ba7 100755 --- a/ctdb/config/events.d/05.system +++ b/ctdb/config/events.d/05.system @@ -48,7 +48,7 @@ check_thresholds () fi fi - if validate_percentage "$_warn_threshold" "$_what" ; then + if validate_percentage "$_warn_threshold" "$_thing" ; then if [ "$_usage" -ge "$_warn_threshold" ] ; then if [ -r "$_cache" ] ; then read _prev <"$_cache"