Quellcode durchsuchen

Removed unnecessary for loop

pull/324/head
UX0l0l vor 1 Woche
Ursprung
Commit
04c449e9bf
1 geänderte Dateien mit 1 neuen und 4 gelöschten Zeilen
  1. +1
    -4
      emailwiz.sh

+ 1
- 4
emailwiz.sh Datei anzeigen

@@ -37,10 +37,7 @@ case "$v6choice" in
esac esac


# Open required mail ports, and 80, for Certbot. # Open required mail ports, and 80, for Certbot.
for port in 80 993 465 25 587 110 995
do
ufw allow "$port" 2>/dev/null
done
ufw allow 80, 993, 465, 25, 587, 110, 995/tcp 2>/dev/null


[ ! -d "$certdir" ] && [ ! -d "$certdir" ] &&
possiblecert="$(certbot certificates 2>/dev/null | grep "Domains:\.* \(\*\.$domain\|$maildomain\)\(\s\|$\)" -A 2 | awk '/Certificate Path/ {print $3}' | head -n1)" && possiblecert="$(certbot certificates 2>/dev/null | grep "Domains:\.* \(\*\.$domain\|$maildomain\)\(\s\|$\)" -A 2 | awk '/Certificate Path/ {print $3}' | head -n1)" &&


Laden…
Abbrechen
Speichern