diff --git a/scripts/install b/scripts/install index 42013db..a76dce9 100755 --- a/scripts/install +++ b/scripts/install @@ -5,6 +5,11 @@ domain=$1 path=$2 admin_passwd=$3 +if [ "$admin_passwd" = "" ]; then + echo "Wrong password" + exit 1 +fi + # Check domain/path availability sudo yunohost app checkurl $domain$path -a owncloud if [[ ! $? -eq 0 ]]; then