Commit 75985c6a authored by Lukas Schauer's avatar Lukas Schauer

make arguments to _mktemp optional (fixes #178)

parent 33f07fcc
...@@ -24,7 +24,8 @@ BASEDIR="${SCRIPTDIR}" ...@@ -24,7 +24,8 @@ BASEDIR="${SCRIPTDIR}"
# Create (identifiable) temporary files # Create (identifiable) temporary files
_mktemp() { _mktemp() {
mktemp -t letsencrypt.sh-XXXXXX "${@}" # shellcheck disable=SC2068
mktemp -t letsencrypt.sh-XXXXXX ${@:-}
} }
# Check for script dependencies # Check for script dependencies
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment