From 1d3e8c312faea4abc5e0102adef0a2f23b30b734 Mon Sep 17 00:00:00 2001 From: garciadeblas Date: Wed, 17 Feb 2021 21:17:19 +0000 Subject: [PATCH] install_osm.sh: progress even if the option is not in getopts list Change-Id: I292b6f3b5a8bd7e6dd3d3a5f486724e6c8975666 Signed-off-by: garciadeblas --- installers/install_osm.sh | 4 ---- 1 file changed, 4 deletions(-) diff --git a/installers/install_osm.sh b/installers/install_osm.sh index 77a696e4..a425be1f 100755 --- a/installers/install_osm.sh +++ b/installers/install_osm.sh @@ -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 ;; -- 2.25.1