From 2398a515b502f6ea8766be8a04996584a7dbc26a Mon Sep 17 00:00:00 2001 From: Johannes Date: Sun, 13 Nov 2016 11:34:02 +0100 Subject: [PATCH] Make --encryption-key mandatory --- scripts/cloudron-setup | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/cloudron-setup b/scripts/cloudron-setup index 9cae2dda0..b653669b9 100755 --- a/scripts/cloudron-setup +++ b/scripts/cloudron-setup @@ -49,6 +49,11 @@ if [[ -z "${provider}" ]]; then exit 1 fi +if [[ -z "${encryptionKey}" ]]; then + echo "--encryption-key is required" + exit 1 +fi + echo "" echo "##############################################" echo " Cloudron Setup (${version}) "