installer: tolerate missing tty in offline finalizer

This commit is contained in:
Ryan Hughes committed 2026-06-04 18:35:01 -04:00
1 parent e67128e4c9
commit 96a020f756
4 files changed
+54 -13

No files matched your search

+1 -2
View File
@@ -89,7 +89,6 @@ catch_errors() {
stop_log_output
if [[ -n ${OMARCHY_CHROOT_FINALIZER:-} ]]; then
show_cursor
{
echo "Omarchy installation stopped inside offline finalizer."
echo "This command halted with exit code $exit_code:"
@@ -168,7 +167,7 @@ exit_handler() {
catch_errors "$exit_code"
else
stop_log_output
show_cursor
[[ -n ${OMARCHY_CHROOT_FINALIZER:-} ]] || show_cursor
fi
}