My Script Crashed and Left a Lock File Behind. Every Run After That Refused to Start.

A backup script of mine created a lock file on startup so two copies couldn’t run at once — sensible. Then one night it hit an error…