mirror of
https://github.com/dehydrated-io/dehydrated.git
synced 2026-05-08 08:03:30 +02:00
make arguments to _mktemp optional (fixes #178)
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user