made it okay for domain to already exist
authorChris Koeritz <fred@gruntose.com>
Sun, 12 Nov 2017 05:34:46 +0000 (00:34 -0500)
committerChris Koeritz <fred@gruntose.com>
Sun, 12 Nov 2017 05:34:46 +0000 (00:34 -0500)
scripts/system/add_domain.sh

index 0dabaf2e7b4234392fe214883a4fdd6c3e07e94b..df4f5ea5656cadcfa7804f5ba5dba4a633b45c19 100644 (file)
@@ -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 "