From 8d1e9444fd2f46d5dc60757c6123c8cc5b1d4ee3 Mon Sep 17 00:00:00 2001 From: Yorick Downe Date: Tue, 15 Aug 2023 10:32:24 +0000 Subject: [PATCH] Better terminate --- ethd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ethd b/ethd index f036671e..f43eb88a 100755 --- a/ethd +++ b/ethd @@ -1741,7 +1741,7 @@ terminate() { stop # In this case I want the word splitting, so rm can remove all volumes # shellcheck disable=SC2046 - dodocker volume rm $(dodocker volume ls -q -f "name=^$(basename "$(realpath .)")_.+") + dodocker volume rm $(dodocker volume ls -q -f "name=^$(basename "$(realpath .)")_[^_]+") echo "" echo "All containers stopped and all volumes deleted" echo ""