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

L2SS-225: Fix redirect

parent 4c985284
No related branches found
No related tags found
1 merge request!41L2SS-225: Fix rebuild_system_from_scratch.sh to also function on CentOS7
...@@ -9,11 +9,11 @@ fi ...@@ -9,11 +9,11 @@ fi
# Check if Docker compose can be found. # Check if Docker compose can be found.
DOCKER_COMPOSE="docker compose version" DOCKER_COMPOSE="docker compose version"
${DOCKER_COMPOSE} 2>&1>/dev/null ${DOCKER_COMPOSE} >&/dev/null
ret=${?} ret=${?}
if [ ${ret} -ne 0 ]; then if [ ${ret} -ne 0 ]; then
DOCKER_COMPOSE="docker-compose version" DOCKER_COMPOSE="docker-compose version"
${DOCKER_COMPOSE} 2>&1>/dev/null ${DOCKER_COMPOSE} >&/dev/null
ret=${?} ret=${?}
fi fi
if [ ${ret} -eq 0 ]; then if [ ${ret} -eq 0 ]; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment