bin/check-cpu.sh in sensu-plugins-cpu-checks-0.0.3 vs bin/check-cpu.sh in sensu-plugins-cpu-checks-0.0.4
- old
+ new
@@ -13,10 +13,10 @@
#
# Released under the same terms as Sensu (the MIT license); see LICENSE
# for details.
# get arguments
-while getopts 'w:c:h' OPT; do
+while getopts ':w:c:h' OPT; do
case $OPT in
w) WARN=$OPTARG;;
c) CRIT=$OPTARG;;
h) hlp="yes";;
*) unknown="yes";;