Add -r to xargs arguments
Why? Because if there is no certificates in /etc/letsencrypt it will call evoacme with no args, resulting in an error.
This commit is contained in:
parent
e8c0e43cf0
commit
edf7bceee6
|
@ -11,4 +11,4 @@ CRT_DIR="${CRT_DIR:-'/etc/letsencrypt'}"
|
|||
|
||||
export QUIET=1
|
||||
|
||||
find "${CRT_DIR}" -maxdepth 1 -mindepth 1 -type d ! -path "*accounts" ! -path "*hooks" -printf "%f\n" | xargs -n1 evoacme
|
||||
find "${CRT_DIR}" -maxdepth 1 -mindepth 1 -type d ! -path "*accounts" ! -path "*hooks" -printf "%f\n" | xargs -n1 -r evoacme
|
||||
|
|
Loading…
Reference in a new issue