aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2016-10-13 15:30:36 +0000
committerGerrit Code Review <review@openstack.org>2016-10-13 15:30:36 +0000
commit086eb5fb2fd9b60788c79c33fced49021d509e6c (patch)
tree500b7a3cdace6301ce674ff2cfa6c4b51bc5577d /tools
parentce23dbe14d45f746c7bf3ca14422760575ef9204 (diff)
parentd5fe8a30f98db9c604cf6a80b63875c06abbf20a (diff)
downloadkolla-086eb5fb2fd9b60788c79c33fced49021d509e6c.tar.gz
kolla-086eb5fb2fd9b60788c79c33fced49021d509e6c.zip
Merge "Cleanup container script improvement"
Diffstat (limited to 'tools')
-rwxr-xr-xtools/cleanup-containers2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/cleanup-containers b/tools/cleanup-containers
index 14249c960..c73d197dd 100755
--- a/tools/cleanup-containers
+++ b/tools/cleanup-containers
@@ -1,5 +1,5 @@
#!/bin/bash
-if [[ $(pgrep qemu) ]]; then
+if [[ $COMPUTE ]] && [[ $(pgrep qemu) ]]; then
echo "Some qemu processes were detected."
echo "Docker will not be able to stop the nova_libvirt container with those running."
echo "Please clean them up before rerunning this script."