mirror of
https://github.com/tw93/Mole.git
synced 2026-03-24 07:15:07 +00:00
fix: fall back to safe temp directories
This commit is contained in:
@@ -324,7 +324,8 @@ start_inline_spinner() {
|
||||
|
||||
if [[ -t 1 ]]; then
|
||||
# Create unique stop flag file for this spinner instance
|
||||
INLINE_SPINNER_STOP_FILE="${TMPDIR:-/tmp}/mole_spinner_$$_$RANDOM.stop"
|
||||
ensure_mole_temp_root
|
||||
INLINE_SPINNER_STOP_FILE="$MOLE_RESOLVED_TMPDIR/mole_spinner_$$_$RANDOM.stop"
|
||||
|
||||
(
|
||||
local stop_file="$INLINE_SPINNER_STOP_FILE"
|
||||
|
||||
Reference in New Issue
Block a user