client: dev-tools: lib_linter: return compose down

- Don't return value of network removal
  * compose value is more appropriate
- Silence error warning
  * will complain if network is already in use
This commit is contained in:
2024-08-21 18:55:20 -07:00
parent 23b5441a26
commit 1e818b708b

View File

@@ -256,7 +256,10 @@ function lib_linter::__linter()
popd 1>/dev/null || lib_utils::die_fatal
lib_docker::__docker_compose down
docker network rm "$global_network" 1>/dev/null
local -r _ret=$?
docker network rm "$global_network" 2>/dev/null # Don't force, if in use
return $_ret
}
function lib_linter::linter()