From 42cd587594908362faa01e698b03e825d379063a Mon Sep 17 00:00:00 2001 From: Cyril Cressent Date: Mon, 3 Jun 2024 09:32:36 -0700 Subject: [PATCH] Use $TMPDIR --- install-script/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install-script/install.sh b/install-script/install.sh index 854521bb..fe2858e2 100755 --- a/install-script/install.sh +++ b/install-script/install.sh @@ -138,7 +138,7 @@ CURL_MAX_TIME=1800 SYSTEMD_DISABLED=false DISABLE_INSTALLATION_TELEMETRY=false -INSTALLATION_LOGFILE="/tmp/sumologic-otel-collector_installation.log" +INSTALLATION_LOGFILE="${TMPDIR:=/tmp}/sumologic-otel-collector_installation.log" INSTALLATION_LOGFILE_ENDPOINT='https://open-events.sumologic.net/api/v1/collector/installation/logs' ############################ Functions