eustasy / Bubbly

BASH: Better SSL in Nginx in 10 minutes. Configuration files and setup scripts for Certbot.
MIT License
218 stars 21 forks source link

Pass all parameters to renew_ssl #6

Closed alx closed 8 years ago

alx commented 8 years ago

I had an issue with the "$1 $2..." format, I'm not sure why, the resulting command appended a "-d0" at the end of the line, and it crashed the letsencrypt command.

I'm using this "$@" bash variable to fetch all parameters passed to renew_ssl command, and it solved my problem.

alx commented 8 years ago

More informations about $@ bash variable:

lewisgoddard commented 8 years ago

This is far better, thank you!