Przeglądaj źródła

Fix unbound variable

master
Chris Smith 8 lat temu
rodzic
commit
11f5f9c8ab
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1
    1
      config.sh

+ 1
- 1
config.sh Wyświetl plik

@@ -3,7 +3,7 @@
3 3
 BASEDIR=/letsencrypt
4 4
 CONTACT_EMAIL="$EMAIL"
5 5
 
6
-if [[ -z "${STAGING}" ]]; then
6
+if [[ -z "${STAGING:-}" ]]; then
7 7
   CA="https://acme-staging.api.letsencrypt.org/directory"
8 8
 else
9 9
   CA="https://acme-v01.api.letsencrypt.org/directory"

Ładowanie…
Anuluj
Zapisz