From 1077da72621a7b3fc8410d8e820a115d0e26ab02 Mon Sep 17 00:00:00 2001 From: Bertrand Lallau Date: Tue, 11 Apr 2017 16:46:20 +0200 Subject: [PATCH] Remove dead code from cleanup-host.sh script sourcing validate-docker-execute.sh script is not needed anymore and should be removed. Change-Id: Ie40ddcd36e71337d94f49467bfb0f8aae50353f7 --- tools/cleanup-host | 6 ------ 1 file changed, 6 deletions(-) diff --git a/tools/cleanup-host b/tools/cleanup-host index c319ce0b83..4d4c93eaba 100755 --- a/tools/cleanup-host +++ b/tools/cleanup-host @@ -1,10 +1,5 @@ #!/bin/bash -# Move to top level directory -REAL_PATH=$(python -c "import os,sys;print os.path.realpath('$0')") -cd "$(dirname "$REAL_PATH")/.." -. tools/validate-docker-execute.sh - # Spawning the neutron agents containers leaves artifacts on the host. # This script removes these artifacts. ip netns list | while read -r line ; do @@ -57,4 +52,3 @@ for dir in $FOLDER_PATH*; do rm -rfv $dir fi done -