mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2026-09-30 02:26:53 +00:00
fix(tui): correct network, storage, upgrade, and GPU guidance
This commit is contained in:
@@ -646,7 +646,13 @@ mount_existing_disk() {
|
||||
mkdir -p "$mount_path"
|
||||
msg_ok "$(translate "Mount point created")"
|
||||
|
||||
msg_info "$(translate "Mounting existing") $existing_fs $(translate "filesystem...")"
|
||||
local mount_message
|
||||
mount_message="$(translate "Mounting existing filesystem ({filesystem})...")"
|
||||
if [[ "$mount_message" != *'{filesystem}'* ]]; then
|
||||
mount_message="Mounting existing filesystem ({filesystem})..."
|
||||
fi
|
||||
mount_message="${mount_message//\{filesystem\}/$existing_fs}"
|
||||
msg_info "$mount_message"
|
||||
if ! mount "$disk" "$mount_path" 2>/dev/null; then
|
||||
msg_error "$(translate "Failed to mount disk")"
|
||||
return 1
|
||||
|
||||
Reference in New Issue
Block a user