summaryrefslogtreecommitdiffstats
path: root/plugins-scripts/utils.sh.in
diff options
context:
space:
mode:
Diffstat (limited to 'plugins-scripts/utils.sh.in')
-rw-r--r--plugins-scripts/utils.sh.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins-scripts/utils.sh.in b/plugins-scripts/utils.sh.in
index d5013a6..5fae6ad 100644
--- a/plugins-scripts/utils.sh.in
+++ b/plugins-scripts/utils.sh.in
@@ -21,9 +21,10 @@ support() {
21 $ECHO "@SUPPORT@" | sed -e 's/\n/ /g' 21 $ECHO "@SUPPORT@" | sed -e 's/\n/ /g'
22} 22}
23 23
24 24#
25# check_range takes a value and a range string, returning successfully if an 25# check_range takes a value and a range string, returning successfully if an
26# alert should be raised based on the range 26# alert should be raised based on the range.
27#
27check_range() { 28check_range() {
28 local v range yes no err decimal start end cmp match 29 local v range yes no err decimal start end cmp match
29 v="$1" 30 v="$1"
@@ -105,4 +106,3 @@ check_range() {
105 return "$no" 106 return "$no"
106 fi 107 fi
107} 108}
108