From 208f793bfc152f900e7840a8e9c0b85f10ad27e4 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Mon, 26 Jan 2015 21:03:22 +0000 Subject: [PATCH] Check for blank default domain name --- src/freedombone | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/freedombone b/src/freedombone index 57dd2e46..b44701da 100755 --- a/src/freedombone +++ b/src/freedombone @@ -6250,6 +6250,10 @@ function install_owncloud { fi # if this is exclusively a cloud setup if [[ $SYSTEM_TYPE == "$VARIANT_CLOUD" ]]; then + if [ ! $DOMAIN_NAME ]; then + echo 'No default domain name when installing cloud variant' + exit 5380 + fi OWNCLOUD_DOMAIN_NAME=$DOMAIN_NAME fi if [ ! $OWNCLOUD_DOMAIN_NAME ]; then