diff options
| author | Craig Jennings <c@cjennings.net> | 2026-07-08 16:18:08 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-07-08 16:18:08 -0500 |
| commit | d88fb3aadc04bd2db84da3a500e40a04be20df80 (patch) | |
| tree | 48267d3ccfa066016ca0f58ca7246489697c86ad /tests/safe-rm-rf | |
| parent | de391e554fad2ca21e44c772a1ed5694b13e82df (diff) | |
| download | archsetup-d88fb3aadc04bd2db84da3a500e40a04be20df80.tar.gz archsetup-d88fb3aadc04bd2db84da3a500e40a04be20df80.zip | |
fix(guard): consume the override sentinel as it's honored
One touch buys exactly one transaction. The maintenance console's forced live update sets the sentinel and clears it afterward, but a caller that dies mid-update would leave the file behind and keep the guard disarmed until reboot. The hook now deletes the sentinel at the moment it honors it, so a missed cleanup costs nothing. The env override is unchanged, and the caller's clear step stays as the belt-and-suspenders for transactions the hook never fires on.
Diffstat (limited to 'tests/safe-rm-rf')
0 files changed, 0 insertions, 0 deletions
