From 8916f2093e43c821754a12aaca0e7ab2ded1d127 Mon Sep 17 00:00:00 2001 From: Yorick Downe Date: Fri, 3 Nov 2023 14:46:14 +0000 Subject: [PATCH] Fix terminate --- wemd | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/wemd b/wemd index a322160..7b1ae0b 100755 --- a/wemd +++ b/wemd @@ -513,7 +513,9 @@ terminate() { done down - dodocker volume rm "$(dodocker volume ls -q -f "name=^$(basename "$(realpath .)")_[^_]+")" +# 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 .)")_[^_]+") echo "" echo "All containers stopped and all volumes deleted" echo ""