|
@ -3084,7 +3084,7 @@ is_volume_used() { |
|
|
|
|
|
|
|
|
while read -r container_id; do |
|
|
while read -r container_id; do |
|
|
while read-0 src dst; do |
|
|
while read-0 src dst; do |
|
|
[[ "$src" == "$volume"/* ]] && return 0 |
|
|
|
|
|
|
|
|
[[ "$src/" == "$volume"/* ]] && return 0 |
|
|
done < <(get_volumes_for_container "$container_id") |
|
|
done < <(get_volumes_for_container "$container_id") |
|
|
done < <(get_running_compose_containers) |
|
|
done < <(get_running_compose_containers) |
|
|
return 1 |
|
|
return 1 |
|
|