From 160ff926e9e26baa75cfed099b4119608a3e8514 Mon Sep 17 00:00:00 2001 From: Chris Koeritz Date: Sun, 12 Nov 2017 00:34:46 -0500 Subject: [PATCH] made it okay for domain to already exist --- scripts/system/add_domain.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/system/add_domain.sh b/scripts/system/add_domain.sh index 0dabaf2e..df4f5ea5 100644 --- a/scripts/system/add_domain.sh +++ b/scripts/system/add_domain.sh @@ -35,9 +35,9 @@ function write_new_domain_file() if [ -f $domain_file ]; then echo "The domain configuration file already exists at:" echo " $domain_file" - echo "Please remove this file before proceeding, if it is junk. For example:" - echo " sudo rm $domain_file" - exit 1 + echo "Since we don't want to tear that down if it has specialized configuration" + echo "data in it, we will just leave it in place and consider our job done. + exit 0 fi echo " -- 2.34.1