From e2803af573273da46dd26a82381e740ec7220609 Mon Sep 17 00:00:00 2001 From: Eduard Veit Date: Fri, 25 Mar 2022 18:14:01 +0100 Subject: [PATCH] feat(Nextcloud): handle illegal parameters --- nextcloud-installer.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/nextcloud-installer.sh b/nextcloud-installer.sh index a0a67d4..38f5f44 100644 --- a/nextcloud-installer.sh +++ b/nextcloud-installer.sh @@ -76,6 +76,10 @@ function process_parameters VERSION="$1" shift ;; + * ) + echo "$1 can not be processed, exiting script" + exit 1 + ;; esac done }