From 5a777cd0eb28ae0fdbb6f56f8563ef623d274d1b Mon Sep 17 00:00:00 2001 From: yorickdowne <71337066+yorickdowne@users.noreply.github.com> Date: Tue, 15 Aug 2023 05:20:58 +0100 Subject: [PATCH] Better regex for terminate (#1480) --- ethd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ethd b/ethd index 1d54a5a7..f036671e 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 ""