Add missing 's' to tmpdir name (#27721)
When using mktemp from coreutils there was an 's' missing from elasticsearch. Follow-up for #27659
This commit is contained in:
parent
58b4d6c5fc
commit
9b9f85e509
|
@ -80,7 +80,7 @@ if [ -z "$ES_TMPDIR" ]; then
|
|||
mktemp_coreutils=$?
|
||||
set -e
|
||||
if [ $mktemp_coreutils -eq 0 ]; then
|
||||
ES_TMPDIR=`mktemp -d --tmpdir "elasticearch.XXXXXXXX"`
|
||||
ES_TMPDIR=`mktemp -d --tmpdir "elasticsearch.XXXXXXXX"`
|
||||
else
|
||||
ES_TMPDIR=`mktemp -d -t elasticsearch`
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue