diff --git a/src/freedombone-renew-cert b/src/freedombone-renew-cert index 9a8a84d2..214e9aac 100755 --- a/src/freedombone-renew-cert +++ b/src/freedombone-renew-cert @@ -165,7 +165,7 @@ fi # check that the web site exists if [ ! -f /etc/nginx/sites-available/$HOSTNAME ]; then echo "/etc/nginx/sites-available/$HOSTNAME does not exist" - return 7598 + exit 7598 fi if [[ $PROVIDER == 'startssl' || $PROVIDER == 'StartSSL' ]]; then