Update share-common.func

This commit is contained in:
MacRimi
2025-09-06 22:06:02 +02:00
parent a571b57b30
commit ee719cdd39

View File

@@ -320,7 +320,7 @@ select_host_directory_() {
select_host_directory() { select_host_directory() {
local method result local method result
clear
method=$(whiptail --title "$(translate "Select Host Directory")" \ method=$(whiptail --title "$(translate "Select Host Directory")" \
--menu "$(translate "How do you want to select the HOST folder to mount?")" 15 70 4 \ --menu "$(translate "How do you want to select the HOST folder to mount?")" 15 70 4 \
"mnt" "$(translate "Select from /mnt directories")" \ "mnt" "$(translate "Select from /mnt directories")" \
@@ -363,7 +363,7 @@ select_host_directory() {
} }
echo "$result" echo "$result"
return 0
} }
@@ -432,7 +432,7 @@ select_container_mount_point() {
;; ;;
3) 3)
exit 0 return 1
;; ;;
esac esac