Skip to content
Snippets Groups Projects
Commit 69567495 authored by Thomas Juerges's avatar Thomas Juerges
Browse files

L2SS-218 Disable exit on error in clean_images

This allows make to return with a non-0 code which in turn does
not force Bash to exit.  This happens when the containers where
already down and/or the volumes cleaned up.
parent 59ca7cb0
No related branches found
No related tags found
1 merge request!33Resolve L2SS-218 "Move existing tooling to bootstrap dir"
......@@ -48,8 +48,14 @@ function stop_images()
function clean_images()
{
# This can return a non-0 return code if the system
# has already been shut down.
# Therefore disable Bash's exit on error flag
set +e
pushd ${HOME_DIR}/docker-compose && make clean
popd
# And enable it again.
set -e
}
function start_minimal_tango()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment