From 9ea4fd08cc8ebef11e206dc27b72cab9dbef7d3d Mon Sep 17 00:00:00 2001 From: Jack-Benny Persson Date: Sun, 19 Feb 2012 22:42:12 +0100 Subject: [PATCH] Fixed a bug by escaping the -? option --- check_md5.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/check_md5.sh b/check_md5.sh index c06bd1c..1db50cf 100755 --- a/check_md5.sh +++ b/check_md5.sh @@ -30,7 +30,7 @@ ############################################################################### -VERSION="1.0" +VERSION="1.1" AUTHOR="(c) 2012 Jack-Benny Persson (jack-benny@cyberinfo.se)" # Exit codes @@ -91,7 +91,7 @@ while [[ -n "$1" ]]; do exit $STATE_OK ;; - -?) + -\?) print_help exit $STATE_OK ;;