mirror of
https://github.com/dehydrated-io/dehydrated.git
synced 2026-11-14 04:43:29 +01:00
make arguments to _mktemp optional (fixes #178)
This commit is contained in:
1 parent
33f07fcc0b
commit
75985c6a8a
1 file changed
+2
-1
+2
-1
@@ -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