Clear update inhibitors before reboot prompt

This commit is contained in:
David Heinemeier Hansson committed 2026-07-23 18:58:55 -07:00
1 parent a0e6d65ba8
commit 9b09a3c142
2 files changed
+39

No files matched your search

+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
}