Skip to content

Commit

Permalink
Fix terminate
Browse files Browse the repository at this point in the history
  • Loading branch information
yorickdowne committed Nov 3, 2023
1 parent 9ea03aa commit 8916f20
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion wemd
Original file line number Diff line number Diff line change
Expand Up @@ -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 ""
Expand Down

0 comments on commit 8916f20

Please sign in to comment.