aboutsummaryrefslogtreecommitdiff
path: root/scripts/testing/maint-scenarios/23-pacnew-delete.sh
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-07-08 16:18:08 -0500
committerCraig Jennings <c@cjennings.net>2026-07-08 16:18:08 -0500
commit3a4cca042b2ce21cb4385d4a0b3494851212b81c (patch)
tree10d00e8612b1108ca19bbab3b1ee155fc92b38be /scripts/testing/maint-scenarios/23-pacnew-delete.sh
parent63f73e06d5ce1475c671ba69817f5f1404691188 (diff)
downloadarchsetup-3a4cca042b2ce21cb4385d4a0b3494851212b81c.tar.gz
archsetup-3a4cca042b2ce21cb4385d4a0b3494851212b81c.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 'scripts/testing/maint-scenarios/23-pacnew-delete.sh')
0 files changed, 0 insertions, 0 deletions