From 17159676d95ef6c2291a357a1f624357f515af8f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20S=C3=89RIE?= Date: Tue, 10 Jul 2018 17:08:39 +0200 Subject: [PATCH] Add exit 0 after the command -v commands. Otherwise it would exit 1 on nginx if you have not nginx installed. --- evoacme/files/make-csr.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/evoacme/files/make-csr.sh b/evoacme/files/make-csr.sh index 10c0f8e9..7bbff77f 100755 --- a/evoacme/files/make-csr.sh +++ b/evoacme/files/make-csr.sh @@ -227,6 +227,7 @@ main() { command -v apache2ctl >/dev/null && sed_selfsigned_cert_path_for_apache "/etc/apache2/ssl/${VHOST}.conf" command -v nginx >/dev/null && sed_selfsigned_cert_path_for_nginx "/etc/nginx/ssl/${VHOST}.conf" + exit 0 } readonly PROGNAME=$(basename "$0")