diff --git a/apps/fulltextsearch.sh b/apps/fulltextsearch.sh index 6380b63c..b441b474 100644 --- a/apps/fulltextsearch.sh +++ b/apps/fulltextsearch.sh @@ -52,7 +52,10 @@ else done # Removal Elastichsearch Docker image docker_prune_this "docker.elastic.co/elasticsearch/elasticsearch" - docker network rm fulltextsearch_es01-network + if docker network ls | grep fulltextsearch_es01-network + then + docker network rm fulltextsearch_es01-network + fi rm -rf "$FULLTEXTSEARCH_DIR" # Show successful uninstall if applicable removal_popup "$SCRIPT_NAME"