From: Martyn Taylor <mtaylor(a)redhat.com>
---
bin/aeolus-configure | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/bin/aeolus-configure b/bin/aeolus-configure
index b4c1f39..310b76e 100644
--- a/bin/aeolus-configure
+++ b/bin/aeolus-configure
@@ -13,7 +13,14 @@ OPTIONS:
EOF
}
-eval set -- `getopt -o hdv --long help,debug,verbose -- "$@"`
+args=`getopt -o :hdv --long help,debug,verbose -- "$@"`
+if test $? != 0
+ then
+ usage
+ exit 1
+fi
+
+eval set -- $args
while true ; do
case "$1" in
-h|--help) usage ; exit 1 ; shift ;;
--
1.7.4