diff --git a/scripts/share/lxc-mount-manager.sh b/scripts/share/lxc-mount-manager.sh index 3d1cbacd..d4de2283 100644 --- a/scripts/share/lxc-mount-manager.sh +++ b/scripts/share/lxc-mount-manager.sh @@ -358,7 +358,7 @@ mount_host_directory_to_lxc() { clear ct_mount_point=$(select_container_mount_point "$container_id" "$host_dir") if [[ -z "$ct_mount_point" ]]; then - exit 1 + return 1 fi