diff --git a/trunk/auto/options.sh b/trunk/auto/options.sh index 972fc9ce7..f9e8dfaa0 100755 --- a/trunk/auto/options.sh +++ b/trunk/auto/options.sh @@ -354,7 +354,7 @@ function parse_user_option_to_value_and_option() { function value2switch() { if [[ $1 == YES ]]; then echo on; - else if [[ $1 == RESERVED ]]; then + elif [[ $1 == RESERVED ]]; then echo reserved; else echo off;