Fixed a bug by esacping the -? option

This commit is contained in:
Jack-Benny Persson 2012-02-19 23:15:24 +01:00
parent 52a0ae7f69
commit 4bfcba966a

View File

@ -28,7 +28,7 @@
# # # #
############################################################################### ###############################################################################
VERSION="Version 1.1" VERSION="Version 1.2"
AUTHOR="(c) 2011 Jack-Benny Persson (jack-benny@cyberinfo.se)" AUTHOR="(c) 2011 Jack-Benny Persson (jack-benny@cyberinfo.se)"
# Sensor program # Sensor program
@ -150,7 +150,7 @@ while [[ -n "$1" ]]; do
shift 2 shift 2
;; ;;
-?) -\?)
print_help print_help
exit $STATE_OK exit $STATE_OK
;; ;;