The cleanup_camera trap handler couldn't access local variables (ffmpeg_pid, tmpdir) when triggered, causing "unbound variable" errors with set -u. Fixed by using global paths with $$ suffix that the trap can reference directly. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
16 KiB
Executable File
16 KiB
Executable File