Browse Source

Bad copy/paste

parent
commit
99c3eb3822
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      haraka.sh

+ 1
- 1
haraka.sh View File

@@ -9,7 +9,7 @@ fi
9 9
 echo $HOSTNAME > /haraka/config/me
10 10
 
11 11
 # Get and install certificates from Let's Encrypt
12
-if [ ! -f /haraka/config/tls ]; then
12
+if [ ! -d /haraka/config/tls ]; then
13 13
   certbot certonly -n --agree-tos --email "$EMAIL" -d "$HOSTNAME" --standalone --preferred-challenges http
14 14
   mkdir -p /haraka/config/tls
15 15
   cd /haraka/config/tls

Loading…
Cancel
Save