mirror of
https://github.com/dehydrated-io/dehydrated.git
synced 2026-01-12 14:50:36 +01:00
make arguments to _mktemp optional (fixes #178)
This commit is contained in:
@@ -24,7 +24,8 @@ BASEDIR="${SCRIPTDIR}"
|
||||
|
||||
# Create (identifiable) temporary files
|
||||
_mktemp() {
|
||||
mktemp -t letsencrypt.sh-XXXXXX "${@}"
|
||||
# shellcheck disable=SC2068
|
||||
mktemp -t letsencrypt.sh-XXXXXX ${@:-}
|
||||
}
|
||||
|
||||
# Check for script dependencies
|
||||
|
||||
Reference in New Issue
Block a user