From 4c8947efd6d756dbbd42ebe5610ae6ea8875aeb9 Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Wed, 15 Apr 2020 21:59:23 +0200 Subject: [PATCH] Fix. --- buster/setup_scripts/setup_website.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buster/setup_scripts/setup_website.sh b/buster/setup_scripts/setup_website.sh index aefb9a8..0873903 100755 --- a/buster/setup_scripts/setup_website.sh +++ b/buster/setup_scripts/setup_website.sh @@ -5,7 +5,7 @@ if [ "$#" -ne 5 ]; then echo 'Need domain name and mail and old server IP and key ID and init state (old, new?) as argument.' false fi -if [ ! "$5" = "old" ] && [ ! "$1" = "new" ]; then +if [ ! "$5" = "old" ] && [ ! "$5" = "new" ]; then echo "Need init state to be either 'old' or 'new'" false fi -- 2.30.2