forked from evolix/ansible-roles
Add exit 0 after the command -v commands.
Otherwise it would exit 1 on nginx if you have not nginx installed.
This commit is contained in:
parent
c57b069bf5
commit
17159676d9
|
@ -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")
|
||||
|
|
Loading…
Reference in a new issue