lxc-mount-manager: drop dangling spinner on stopped-CT message

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 <noreply@anthropic.com>
This commit is contained in:
MacRimi
2026-06-02 18:33:46 +02:00
parent bbfe3adc54
commit a5fdf43b70
+6 -1
View File
@@ -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 ""