From 2a9f2f3c2eecf6053f9a990586c65d131801310b Mon Sep 17 00:00:00 2001 From: MacRimi Date: Sat, 6 Sep 2025 22:09:11 +0200 Subject: [PATCH] Update lxc-mount-manager.sh --- scripts/share/lxc-mount-manager.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/share/lxc-mount-manager.sh b/scripts/share/lxc-mount-manager.sh index 4f06dad..3d1cbac 100644 --- a/scripts/share/lxc-mount-manager.sh +++ b/scripts/share/lxc-mount-manager.sh @@ -355,9 +355,10 @@ mount_host_directory_to_lxc() { # Step 4: Select container mount point local ct_mount_point + clear ct_mount_point=$(select_container_mount_point "$container_id" "$host_dir") if [[ -z "$ct_mount_point" ]]; then - return 1 + exit 1 fi