Bob Mottram 10 years ago
parent
commit
c15d4987e2
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/freedombone-renew-cert

+ 1
- 1
src/freedombone-renew-cert View File

165
 # check that the web site exists
165
 # check that the web site exists
166
 if [ ! -f /etc/nginx/sites-available/$HOSTNAME ]; then
166
 if [ ! -f /etc/nginx/sites-available/$HOSTNAME ]; then
167
     echo "/etc/nginx/sites-available/$HOSTNAME does not exist"
167
     echo "/etc/nginx/sites-available/$HOSTNAME does not exist"
168
-    return 7598
168
+    exit 7598
169
 fi
169
 fi
170
 
170
 
171
 if [[ $PROVIDER == 'startssl' || $PROVIDER == 'StartSSL' ]]; then
171
 if [[ $PROVIDER == 'startssl' || $PROVIDER == 'StartSSL' ]]; then