diff --git a/nextcloud-installer.sh b/nextcloud-installer.sh index 38f5f44..f9daba3 100644 --- a/nextcloud-installer.sh +++ b/nextcloud-installer.sh @@ -87,8 +87,8 @@ function process_parameters function get_version_name { if [[ -n $VERSION ]] - then echo "nextcloud-$VERSION"; exit 0 - else echo "latest"; exit 0 + then echo "nextcloud-$VERSION" + else echo "latest" fi }