From ed0829ae5e8e9952aaee645c02cf83cf9c4de621 Mon Sep 17 00:00:00 2001
From: Hui Kang <kangh@us.ibm.com>
Date: Fri, 18 Sep 2015 18:18:37 -0400
Subject: [PATCH] Fix a small bug of wrong path to validate-docker-execuate

Change-Id: I61e7ac2bb0ec0b960dc807d8880d5da105aacd14
Closes-Bug: #1497463
---
 tools/cleanup-host | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/tools/cleanup-host b/tools/cleanup-host
index c38dace439..3cc4ae23d5 100755
--- a/tools/cleanup-host
+++ b/tools/cleanup-host
@@ -1,10 +1,9 @@
 #!/bin/bash
 
-. tools/validate-docker-execute
-
 # 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
 
 # Spawning the neutron-agents container leaves artifacts on the host.
 # This script removes these artifacts.