diff --git a/rootfs/sysprepz/admin/bin/vesta-auto-ssl-restart.sh b/rootfs/sysprepz/admin/bin/vesta-auto-ssl-restart.sh index f3b8d2c..bf8187e 100755 --- a/rootfs/sysprepz/admin/bin/vesta-auto-ssl-restart.sh +++ b/rootfs/sysprepz/admin/bin/vesta-auto-ssl-restart.sh @@ -15,3 +15,5 @@ sleep 5 /usr/local/vesta/bin/v-restart-mail /usr/local/vesta/bin/v-restart-service dovecot /usr/local/vesta/bin/v-restart-service vesta + +exit 0 diff --git a/rootfs/sysprepz/admin/bin/vesta-auto-ssl.sh b/rootfs/sysprepz/admin/bin/vesta-auto-ssl.sh index adf6094..1e4ab88 100755 --- a/rootfs/sysprepz/admin/bin/vesta-auto-ssl.sh +++ b/rootfs/sysprepz/admin/bin/vesta-auto-ssl.sh @@ -37,6 +37,7 @@ if [ -n "$hostname" ]; then cd /usr/local/vesta/bin /usr/local/vesta/bin/v-update-host-certificate $user $hostname + exit 0 else echo "[i] vesta-auto-ssl exit due to empty VESTA_DOMAIN variable" fi \ No newline at end of file