Clear update inhibitors before reboot prompt

This commit is contained in:
David Heinemeier Hansson
2026-07-23 18:58:55 -07:00
parent a0e6d65ba8
commit 9b09a3c142
2 changed files with 39 additions and 0 deletions
+6
View File
@@ -91,6 +91,12 @@ run_update_pipeline() {
omarchy-shell -q omarchy.system-update clear
fi
# Release update-owned inhibitors before offering a reboot. A confirmed
# reboot can terminate this process before its EXIT trap gets a chance to
# remove the persistent Stay Awake marker.
restore_update_inhibitors
trap - EXIT
omarchy-update-restart
}