Update share-common.func

This commit is contained in:
MacRimi
2025-09-06 21:14:54 +02:00
parent 93896f6fb7
commit 4cd8889c38

View File

@@ -288,11 +288,12 @@ select_host_directory() {
msg_error "$(translate "No directories found in") $base_path" msg_error "$(translate "No directories found in") $base_path"
return 1 return 1
fi fi
clear
result=$(whiptail --title "$(translate "Select Host Folder")" \ result=$(whiptail --title "$(translate "Select Host Folder")" \
--menu "$(translate "Select the folder to mount:")" 20 80 10 "${options[@]}" 3>&1 1>&2 2>&3) --menu "$(translate "Select the folder to mount:")" 20 80 10 "${options[@]}" 3>&1 1>&2 2>&3)
;; ;;
manual) manual)
clear
result=$(whiptail --title "$(translate "Enter Path")" \ result=$(whiptail --title "$(translate "Enter Path")" \
--inputbox "$(translate "Enter the full path to the host folder:")" 10 70 "/mnt/" 3>&1 1>&2 2>&3) --inputbox "$(translate "Enter the full path to the host folder:")" 10 70 "/mnt/" 3>&1 1>&2 2>&3)
;; ;;