diff options
-rwxr-xr-x | bootstrap | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -253,9 +253,12 @@ EOF parse_script_option_list () { # Parse the script option list and take the appropriate action. - if test ! argument_list=`getopt vhC $@`; then + set +e + argument_list=`getopt vhC $@` + if test ! $? -eq 0; then display_error fi + set -e eval set -- "$argument_list" while [ $# -gt 0 ]; do case "$1" in |