From a5fdf43b706852a3ba4d14d9ba678c429abfa56e Mon Sep 17 00:00:00 2001 From: MacRimi Date: Tue, 2 Jun 2026 18:33:46 +0200 Subject: [PATCH] lxc-mount-manager: drop dangling spinner on stopped-CT message MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The earlier fix to handle stopped containers in the add flow used `msg_info` for the "Container is stopped — mount will activate automatically on next start" line. `msg_info` is the spinner-start half of the msg_info/msg_ok pair — it never gets closed here because there's nothing to wait on, so the spinner glyph stays visible (⠋) right before the "Press Enter to continue" prompt. Switch to `msg_ok` so the line renders as a clean static success mark, matching the visual style of the other terminal messages. Co-Authored-By: Claude Opus 4.7 --- scripts/share/lxc-mount-manager_minimal.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/scripts/share/lxc-mount-manager_minimal.sh b/scripts/share/lxc-mount-manager_minimal.sh index 650795fb..94505548 100644 --- a/scripts/share/lxc-mount-manager_minimal.sh +++ b/scripts/share/lxc-mount-manager_minimal.sh @@ -880,7 +880,12 @@ $(translate "Proceed")?" fi fi else - msg_info "$(translate "Container is stopped — mount will activate automatically on next start")" + # Use msg_ok (static line) instead of msg_info (which starts a + # spinner expecting a matching msg_ok later). There's nothing + # to wait on when the CT is stopped, so a left-over spinner + # would render as `⠋ Container is stopped …` right before the + # "Press Enter" prompt. + msg_ok "$(translate "Container is stopped — mount will activate automatically on next start")" fi echo ""