home · contact · privacy
Fix if condition.
[config] / bookworm / setup_scripts / setup_status.plomlompom.com.sh
index 01356877a1ec0fc20c50fda113c98367985df66e..99de5743bfd73dad2939b07d04be418008cf01f6 100755 (executable)
@@ -12,13 +12,13 @@ if [ "$#" -gt 1 ]; then
     domain="$1"
     if [ "$#" -gt 2 ]; then
         mail="plom+testing@plomlompom.com"
-       if [ "$#" -gt 3]; then
+       if [ "$#" -gt 3 ]; then
            mirror_ip="$3"
             mirror_state="mirroring automatically from ${target_ip}"
         fi
     fi
 fi
-echo "Assuming domain ${domain} and letsencrypt support mail address ${mail}, abort and provide as arguments in this order if other desired! (Otherwise just hit Return.)"
+echo "Assuming domain ${domain} and letsencrypt support mail address ${mail} and ${mirror_state}, abort and provide as arguments in this order if other desired! (Otherwise just hit Return.)"
 read _
 
 # Install configs, set up firewall.