Skip to content

Commit

Permalink
Bug fix: Only call ws destroy if .my127ws exists
Browse files Browse the repository at this point in the history
  • Loading branch information
Gavin Foster committed Feb 15, 2023
1 parent 09e7ab9 commit 8d87894
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ function clean()
{
if [ -d "$path_test"]; then
if [ -d "${path_test}/.my127ws"]; then
(cd "$path_test" && ws destroy || (docker ps -a && return 1)
(cd "$path_test" && ws destroy) || (docker ps -a && return 1)
fi
rm -rf "$path_test"
fi
Expand Down

0 comments on commit 8d87894

Please sign in to comment.