mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2026-06-11 11:06:24 +00:00
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:
@@ -880,7 +880,12 @@ $(translate "Proceed")?"
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
else
|
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
|
fi
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
|
|||||||
Reference in New Issue
Block a user