Browse Source

Fix unbound variable

master
Chris Smith 8 years ago
parent
commit
11f5f9c8ab
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      config.sh

+ 1
- 1
config.sh View File

@@ -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"

Loading…
Cancel
Save