install_osm.sh: progress even if the option is not in getopts list 37/10337/3
authorgarciadeblas <gerardo.garciadeblas@telefonica.com>
Wed, 17 Feb 2021 21:17:19 +0000 (21:17 +0000)
committergarciadeblas <gerardo.garciadeblas@telefonica.com>
Wed, 24 Mar 2021 12:33:00 +0000 (13:33 +0100)
Change-Id: I292b6f3b5a8bd7e6dd3d3a5f486724e6c8975666
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
installers/install_osm.sh

index 77a696e..a425be1 100755 (executable)
@@ -135,10 +135,6 @@ while getopts ":b:r:c:n:k:u:R:l:L:K:p:D:o:O:m:N:H:S:s:w:t:U:P:A:d:p:-: hy" o; do
             echo "Option -$OPTARG requires an argument" >&2
             usage && exit 1
             ;;
-        \?)
-            echo -e "Invalid option: '-$OPTARG'\n" >&2
-            usage && exit 1
-            ;;
         h)
             usage && exit 0
             ;;