summaryrefslogtreecommitdiffstats
path: root/tests/cluster.rc
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cluster.rc')
-rw-r--r--tests/cluster.rc2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/cluster.rc b/tests/cluster.rc
index e258b58..1c5247c 100644
--- a/tests/cluster.rc
+++ b/tests/cluster.rc
@@ -96,7 +96,7 @@ function kill_node() {
h="H$index";
- kill -9 $(ps -ef | grep gluster | grep ${!h} | awk '{print $2}');
+ terminate_pids $(ps -ef | grep gluster | grep ${!h} | awk '{print $2}')
find $B0/$index/glusterd/vols -name '*.pid' | xargs rm -f
}