Bob Mottram 10 年 前
コミット
c15d4987e2
共有1 個のファイルを変更した1 個の追加1 個の削除を含む
  1. 1
    1
      src/freedombone-renew-cert

+ 1
- 1
src/freedombone-renew-cert ファイルの表示

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