1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-28 01:58:17 +03:00

ctdb-scripts: Fix incorrect variable reference

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
This commit is contained in:
Martin Schwenke 2016-06-29 17:47:12 +10:00 committed by Amitay Isaacs
parent f227c26178
commit eabeecb453

View File

@ -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"