Fixed a bug by esacping the -? option
This commit is contained in:
parent
52a0ae7f69
commit
4bfcba966a
@ -28,7 +28,7 @@
|
||||
# #
|
||||
###############################################################################
|
||||
|
||||
VERSION="Version 1.1"
|
||||
VERSION="Version 1.2"
|
||||
AUTHOR="(c) 2011 Jack-Benny Persson (jack-benny@cyberinfo.se)"
|
||||
|
||||
# Sensor program
|
||||
@ -150,7 +150,7 @@ while [[ -n "$1" ]]; do
|
||||
shift 2
|
||||
;;
|
||||
|
||||
-?)
|
||||
-\?)
|
||||
print_help
|
||||
exit $STATE_OK
|
||||
;;
|
||||
|
Loading…
x
Reference in New Issue
Block a user